Merge pull request #15 from itsamenathan/master
Adding user option to template
This commit is contained in:
commit
e6f222c44c
@ -23,13 +23,13 @@ services:
|
||||
privileged: {{ container.privileged }}
|
||||
{% endif %}
|
||||
{% if container.cap_add is defined %}
|
||||
cap_add:
|
||||
cap_add:
|
||||
{% for cap in container.cap_add %}
|
||||
- {{ cap }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if container.group_add is defined %}
|
||||
group_add:
|
||||
group_add:
|
||||
{% for group in container.group_add %}
|
||||
- {{ group }}
|
||||
{% endfor %}
|
||||
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user