diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index d5b34ec..f692cfd 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -111,12 +111,12 @@ services: {% endfor %} {% endif %} {% if container.logging.driver is defined %} - logging: - driver: {{ container.logging.driver }} + logging: + driver: {{ container.logging.driver }} {% if container.logging.options is defined %} - options: + options: {% for option in container.logging.options %} - {{ option }}: {{ container.logging.options[option] }} + {{ option }}: {{ container.logging.options[option] }} {% endfor %} {% endif %} {% endif %}