Explorar o código

add NET_ADMIN to swag containers

Blaine Story %!s(int64=2) %!d(string=hai) anos
pai
achega
48d510752b
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      group_vars/shareunderware.yml
  2. 2 0
      group_vars/warchildstory.yml

+ 2 - 0
group_vars/shareunderware.yml

@@ -32,6 +32,8 @@ containers:
   - name: swag
     active: true
     image: linuxserver/swag
+    cap_add:
+      - NET_ADMIN # required for fail2ban to modify iptables
     ports:
       - 80:80
       - 443:443

+ 2 - 0
group_vars/warchildstory.yml

@@ -26,6 +26,8 @@ containers:
   - name: swag
     active: true
     image: linuxserver/swag
+    cap_add:
+      - NET_ADMIN # required for fail2ban to modify iptables
     ports:
       - 80:80
       - 443:443