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 }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if container.group_add is defined %}
|
||||
group_add:
|
||||
{% for group in container.group_add %}
|
||||
- {{ group }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if container.devices is defined %}
|
||||
devices:
|
||||
{% for device in container.devices %}
|
||||
@ -105,4 +111,4 @@ services:
|
||||
restart: {{ container.restart }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user