minimal fix
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 6m18s

This commit is contained in:
2026-01-25 13:18:39 +07:00
parent 4c7f09d52d
commit 896899d29f
2 changed files with 5 additions and 2 deletions

View File

@@ -22,8 +22,9 @@ services:
volumes: volumes:
- n8n_data:/home/node/.n8n - n8n_data:/home/node/.n8n
- /srv/downloads:/music - /srv/downloads:/music
cap_add:
- NET_ADMIN
restart: unless-stopped restart: unless-stopped
network_mode: "host"
volumes: volumes:
n8n_data: n8n_data:

View File

@@ -1,8 +1,10 @@
#!/bin/sh #!/bin/sh
SOCKS_HOST=${SOCKS_IP:-192.168.31.240}
# Wait for SOCKS proxy to be ready # Wait for SOCKS proxy to be ready
echo "Waiting for SOCKS proxy..." echo "Waiting for SOCKS proxy..."
until nc -z ${SOCKS_IP} 1080; do until nc -z "$SOCKS_HOST" 1080; do
echo "SOCKS proxy not ready yet, waiting..." echo "SOCKS proxy not ready yet, waiting..."
sleep 5 sleep 5
done done