diff --git a/templates/docker-compose.yaml.twig b/templates/docker-compose.yaml.twig index e716ebf..81929ad 100644 --- a/templates/docker-compose.yaml.twig +++ b/templates/docker-compose.yaml.twig @@ -2,7 +2,7 @@ x-app: &default-app volumes: - - "${DOCKER_WEB_VOLUME:-./{{ "drupal-project" == type ?? drupal.docroot }}:{{ project_root }}{{ "drupal-project" == type ?? '/' ~ drupal.docroot }}}" + - "${DOCKER_WEB_VOLUME:-./{{ "drupal-project" == type ? drupal.docroot : '' }}:{{ project_root }}{{ "drupal-project" == type ? '/' ~ drupal.docroot : '' }}}" env_file: - .env restart: "${DOCKER_RESTART_POLICY:-unless-stopped}"