Skip to content
Snippets Groups Projects
Commit 0cf40d50 authored by jurgenhaas's avatar jurgenhaas
Browse files
- avoid nested volumes and move the files to /data directory
parent 19f5b99b
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ services:
- {{ projectroot }}:/var/www/html
- {{ projectroot }}/drush:/etc/drush
{% if drupal.live|default(0) %}
- {{ projectrootfiles }}/public:/data/default
- {{ projectrootfiles }}:/data/default
{% endif %}
{% if php.ssh and not drupal.live|default(0) %}
- {{ php.ssh_auth_sock }}:/ssh-agent
......@@ -124,7 +124,7 @@ services:
volumes:
- {{ projectroot }}:/var/www/html
{% if drupal.live|default(0) %}
- {{ projectrootfiles }}/public:/data/default
- {{ projectrootfiles }}:/data/default
{% endif %}
labels:
traefik.enable: 'true'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment