Merge pull request #3 from FuzzyMistborn/patch-1
Add group_add to template
This commit is contained in:
commit
36ecbfc7c1
@ -25,6 +25,12 @@ services:
|
|||||||
- {{ cap }}
|
- {{ cap }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if container.group_add is defined %}
|
||||||
|
group_add:
|
||||||
|
{% for group in container.group_add %}
|
||||||
|
- {{ group }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% if container.devices is defined %}
|
{% if container.devices is defined %}
|
||||||
devices:
|
devices:
|
||||||
{% for device in container.devices %}
|
{% for device in container.devices %}
|
||||||
@ -105,4 +111,4 @@ services:
|
|||||||
restart: {{ container.restart }}
|
restart: {{ container.restart }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user