add for container privileged true
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 6m27s

This commit is contained in:
2026-01-25 14:06:17 +07:00
parent d8e59bbe36
commit 33b47860f7
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ services:
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
restart: unless-stopped restart: unless-stopped
privileged: true
volumes: volumes:
n8n_data: n8n_data:

View File

@@ -22,4 +22,4 @@ iptables -t nat -A OUTPUT -p tcp -d 172.16.0.0/12 -j RETURN 2>/dev/null || true
iptables -t nat -A OUTPUT -p tcp -j REDIRECT --to-ports 12345 2>/dev/null || true iptables -t nat -A OUTPUT -p tcp -j REDIRECT --to-ports 12345 2>/dev/null || true
# Start n8n # Start n8n
exec "n8n start" exec su -c "n8n start" node