diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index f992268..ba2d998 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -84,7 +84,14 @@ services: mem_limit: {{ container.mem_limit }} {% endif %} {% if container.command is defined %} +{% if container.command is string %} command: {{ container.command }} +{% else %} + command: +{% for command in container.command %} + - {{ command }} +{% endfor %} +{% endif %} {% endif %} {% if container.security_opt is defined %} security_opt: