This commit is contained in:
parent
372c67767c
commit
a73ea0450f
@ -17,6 +17,7 @@ EnvironmentFile=/etc/containers/systemd/vault.env
|
||||
{% for item in vault_volumes %}
|
||||
Volume={{ item.name }}:{{ item.dest }}{{ ":" + item.opts if item.opts is defined else "" }}
|
||||
{% endfor %}
|
||||
{% if (redis_cap_add + redis_cap_drop) | length > 0 %}
|
||||
|
||||
{% if vault_cap_add | length > 0 %}
|
||||
AddCapability={{ vault_cap_add | join(" ") }}
|
||||
@ -24,6 +25,7 @@ AddCapability={{ vault_cap_add | join(" ") }}
|
||||
{% if vault_cap_drop | length > 0 %}
|
||||
DropCapability={{ vault_cap_drop | join(" ") }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
Network={{ vault_network }}
|
||||
{% for item in vault_exposed_ports %}
|
||||
|
Loading…
Reference in New Issue
Block a user