Merge pull request #2 from ironicbadger/master

Merge upstream changes
This commit is contained in:
Corbin Bartsch 2023-10-28 08:42:10 -04:00 committed by GitHub
commit 9846f2f03a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }}
{{ ansible_managed | comment }}
---
version: "{{ compose_schema_version | default('2') }}"
services:
@ -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 %}