test fix
All checks were successful
Build, Push and Redeploy Docker Image / build-and-push (push) Successful in 5m10s

This commit is contained in:
2026-01-26 22:08:05 +07:00
parent f7039badd8
commit 9908a5b2e0
2 changed files with 9 additions and 8 deletions

View File

@@ -21,12 +21,13 @@ iptables -t nat -A OUTPUT -p tcp -d 10.0.0.0/8 -j RETURN 2>/dev/null || true
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
N8N_BIN="/usr/local/bin/n8n"
# N8N_BIN="/usr/local/bin/n8n"
if [ ! -x "$N8N_BIN" ]; then
echo "n8n binary not found at $N8N_BIN"
exit 1
fi
# if [ ! -x "$N8N_BIN" ]; then
# echo "n8n binary not found at $N8N_BIN"
# exit 1
# fi
# Start n8n
exec su-exec node "$N8N_BIN" start
# exec su-exec node "$N8N_BIN" start
exec su -c "n8n start" node