Merge pull request #3 from FuzzyMistborn/patch-1

Add group_add to template
This commit is contained in:
Alex Kretzschmar 2021-06-17 23:41:01 -04:00 committed by GitHub
commit 36ecbfc7c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}