Added support for cap_app and security_opt
This commit is contained in:
parent
56c21e0c9c
commit
f76805c8b4
@ -50,5 +50,17 @@ services:
|
|||||||
{% if item.restart is defined %}
|
{% if item.restart is defined %}
|
||||||
restart: {{ item.restart }}
|
restart: {{ item.restart }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if item.cap_add is defined %}
|
||||||
|
cap_add:
|
||||||
|
{% for item in item.cap_add %}
|
||||||
|
- {{ item }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if item.security_opt is defined %}
|
||||||
|
security_opt:
|
||||||
|
{% for item in item.security_opt %}
|
||||||
|
- {{ item }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user