From c5836ad92a10b6be8ecf61f1c3cb56c6aa9e38f0 Mon Sep 17 00:00:00 2001 From: Alex Kretzschmar <2773080+ironicbadger@users.noreply.github.com> Date: Wed, 10 Aug 2022 10:36:50 -0400 Subject: [PATCH] fixed command logic --- templates/docker-compose.yml.j2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 6175390..f992268 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -84,10 +84,7 @@ services: mem_limit: {{ container.mem_limit }} {% endif %} {% if container.command is defined %} - command: -{% for command in container.command %} - - {{ command }} -{% endfor %} + command: {{ container.command }} {% endif %} {% if container.security_opt is defined %} security_opt: