From ce59ca09f3c36b1cec5032b100fee633a289e43d Mon Sep 17 00:00:00 2001 From: IronicBadger Date: Fri, 11 Sep 2020 12:58:30 -0400 Subject: [PATCH] command now supports multiline vars --- templates/docker-compose.yml.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 6dec7c5..7e0eccc 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -69,7 +69,10 @@ services: {% endfor %} {% endif %} {% if container.command is defined %} - command: {{ container.command }} + command: +{% for command in container.command %} + - {{ command }} +{% endfor %} {% endif %} {% if container.security_opt is defined %} security_opt: