Browse Source

add NET_ADMIN to swag containers

Blaine Story 2 years ago
parent
commit
48d510752b
2 changed files with 4 additions and 0 deletions
  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