mirror of
https://gitea.0xace.cc/ansible-galaxy/wireguard-ui.git
synced 2024-11-24 23:36:41 +00:00
fix caps for handlers
This commit is contained in:
parent
f070466daf
commit
8dc462d7a8
@ -7,6 +7,8 @@
|
||||
container_default_behavior: no_defaults
|
||||
detach: true
|
||||
restart_policy: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
env: "{{ wireguard_ui_combined_env }}"
|
||||
volumes: "{{ wireguard_ui_volumes }}"
|
||||
when:
|
||||
@ -22,6 +24,8 @@
|
||||
image: "{{ wireguard_ui_container_registry }}/{{ wireguard_ui_image_name }}:{{ wireguard_ui_image_tag }}"
|
||||
state: started
|
||||
restart: yes
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
env: "{{ wireguard_ui_combined_env }}"
|
||||
volumes: "{{ wireguard_ui_volumes }}"
|
||||
when:
|
||||
|
Loading…
Reference in New Issue
Block a user