diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index ba2d998..193790f 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -154,6 +154,9 @@ services: - {{ envfile }} {% endfor %} {% endif %} +{% if container.user is defined %} + user: {{ container.user }} +{% endif %} {% if container.restart is defined %} restart: {{ container.restart }} {% endif %}