20 lines
524 B
YAML
20 lines
524 B
YAML
services:
|
|
squid:
|
|
image: ubuntu/squid
|
|
network_mode: host
|
|
volumes:
|
|
- ./squid.conf:/etc/squid/squid.conf:ro
|
|
- ./passwd:/etc/squid/passwd:ro
|
|
restart: unless-stopped
|
|
|
|
3proxy:
|
|
image: 3proxy/3proxy
|
|
network_mode: host
|
|
environment:
|
|
- PROXY_USER=${PROXY_USER}
|
|
- PROXY_PASS=${PROXY_PASS}
|
|
volumes:
|
|
- ./entrypoint.sh:/entrypoint.sh:ro
|
|
entrypoint: sh /entrypoint.sh
|
|
restart: unless-stopped
|