Sss
Deploy ru-vps / deploy (push) Failing after 1s

This commit is contained in:
Dmitry
2026-06-08 19:18:03 +03:00
parent 40a499decf
commit 055bb45be4
2 changed files with 4 additions and 16 deletions
+4 -12
View File
@@ -6,18 +6,10 @@ services:
- ./squid.conf:/etc/squid/squid.conf:ro
- ./passwd:/etc/squid/passwd:ro
restart: unless-stopped
3proxy:
image: alpine:latest
image: 3proxy/3proxy
network_mode: host
environment:
- PROXY_USER=${PROXY_USER}
- PROXY_PASS=${PROXY_PASS}
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
"
volumes:
- ./3proxy.cfg:/config/3proxy.cfg:ro
command: /config/3proxy.cfg
restart: unless-stopped