Update docker-compose.yml
Deploy ru-vps / deploy (push) Failing after 30s

This commit is contained in:
Dmitry
2026-06-08 19:13:07 +03:00
parent 14bf5c9e63
commit 40a499decf
+8 -4
View File
@@ -8,12 +8,16 @@ services:
restart: unless-stopped
3proxy:
image: 3proxy/3proxy
image: alpine:latest
network_mode: host
environment:
- PROXY_USER=${PROXY_USER}
- PROXY_PASS=${PROXY_PASS}
volumes:
- ./entrypoint.sh:/entrypoint.sh:ro
command: /entrypoint.sh
command: >
sh -c "
apk add --no-cache 3proxy &&
printf 'users %s:CL:%s\nproxy -a -p3128\nlog /dev/stdout\n' \"\${PROXY_USER}\" \"\${PROXY_PASS}\" > /tmp/3proxy.cfg &&
cat /tmp/3proxy.cfg &&
3proxy /tmp/3proxy.cfg
"
restart: unless-stopped