Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 968bec3

Browse files
author
pascal
committed
Switch off Unison for template
1 parent 81b6414 commit 968bec3

File tree

4 files changed

+28
-22
lines changed

4 files changed

+28
-22
lines changed

docs/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ We have used Ansible to [provision](provision) the running containers:
5454

5555
So, we have running containers, with the needed software installed and configured, but we still need one last step:
5656
```
57-
ce-deploy
57+
ce-dev deploy
5858
```
5959
We have used Ansible (again) to [setup the application](deploy). In short, we've basically done
6060
- composer install

templates/drupal8/ce-dev/ansible/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
- composer # Composer install step.
5050
- database_backup # This is still needed to generate credentials.
5151
- config_generate # Generates settings.php
52-
# - database_sync # Grab database from a remote server.
52+
# - sync/database_sync # Grab database from a remote server.
5353
- database_apply # Run drush updb and config import.
5454
- _exit # Some common housekeeping.
5555
{% endraw %}

templates/drupal8/ce-dev/ce-dev.compose.prebuilt.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ services:
1818
x-ce_dev:
1919
host_aliases:
2020
- www.{{ project_name }}.local
21-
unison:
22-
- src: ../
23-
dest: /home/ce-dev/deploy/live.local
24-
target_platforms:
25-
- darwin
26-
- linux
27-
ignore:
28-
- Name vendor
29-
- Name node_modules
30-
- Path */sites/*/files
21+
# Uncomment and comment the "volumes" below to use Unison file sync.
22+
# unison:
23+
# - src: ../
24+
# dest: /home/ce-dev/deploy/live.local
25+
# target_platforms:
26+
# - darwin
27+
# - linux
28+
# ignore:
29+
# - Name vendor
30+
# - Name node_modules
31+
# - Path */sites/*/files
32+
volumes:
33+
- ../:/home/ce-dev/deploy/live.local:delegated
3134
db:
3235
image: 'codeenigma/drupal8-db:latest'
3336
environment:

templates/drupal8/ce-dev/ce-dev.compose.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ services:
1818
x-ce_dev:
1919
host_aliases:
2020
- www.{{ project_name }}.local
21-
unison:
22-
- src: ../
23-
dest: /home/ce-dev/deploy/live.local
24-
target_platforms:
25-
- darwin
26-
- linux
27-
ignore:
28-
- Name vendor
29-
- Name node_modules
30-
- Path */sites/*/files
21+
# Uncomment and comment the "volumes" below to use Unison file sync.
22+
# unison:
23+
# - src: ../
24+
# dest: /home/ce-dev/deploy/live.local
25+
# target_platforms:
26+
# - darwin
27+
# - linux
28+
# ignore:
29+
# - Name vendor
30+
# - Name node_modules
31+
# - Path */sites/*/files
32+
volumes:
33+
- ../:/home/ce-dev/deploy/live.local:delegated
3134
db:
3235
image: mariadb
3336
environment:

0 commit comments

Comments
 (0)