diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index f5db8f0..6bb89c5 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -3,7 +3,8 @@ services: {% for container in containers %} {% if container.active %} - {{ container.service_name }}:{% if container.anchor is defined %} &{{ container.anchor }}{% endif %} + {{ container.service_name }}:{% if container.anchor is defined %} &{{ container.anchor }} +{% endif %} {% if container.fragment is defined %} <<: *{{ container.fragment }} {% else %}