mirror of
https://github.com/euzu/tuliprox.git
synced 2026-09-29 20:42:31 +02:00
42 lines
912 B
YAML
42 lines
912 B
YAML
services:
|
|
gluetun:
|
|
image: qmcgaw/gluetun:latest
|
|
container_name: gluetun
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- apparmor=docker-default # security_opts are optional
|
|
networks:
|
|
- proxy-net
|
|
expose:
|
|
- 1080/tcp # HTTP
|
|
- 1388/tcp # SOCKS5
|
|
- 1388/udp # SOCKS5
|
|
- 9388/tcp # SHADOWSOCKS
|
|
- 9388/udp # SHADOWSOCKS
|
|
# - 8888/tcp # METRICS
|
|
cap_add:
|
|
- NET_ADMIN
|
|
env_file:
|
|
- .env.http-proxy
|
|
- .env.socks5-proxy
|
|
- .env.ss-proxy
|
|
- .env.wg
|
|
volumes:
|
|
- ./conf:/gluetun/
|
|
devices:
|
|
- /dev/net/tun:/dev/net/tun
|
|
environment:
|
|
- TZ=America/Chicago
|
|
- UPDATER_PERIOD=24h
|
|
healthcheck:
|
|
test: ["CMD", "/gluetun-entrypoint", "healthcheck"]
|
|
start_period: 10s
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 1
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true
|
|
name: proxy-net
|