Explorar el Código

add NET_ADMIN to swag containers

Blaine Story hace 2 años
padre
commit
48d510752b
Se han modificado 2 ficheros con 4 adiciones y 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