1
0
Files
docker-compose-templates/services/gluetun.yml
T
2025-12-30 07:45:30 +01:00

33 lines
1.1 KiB
YAML

---
services:
gluetun-japan-wireguard:
image: qmcgaw/gluetun
container_name: gluetun-japan-wireguard
# line above must be uncommented to allow external containers to connect.
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
cap_add:
- NET_ADMIN
networks:
public:
ipv4_address: 192.168.240.49
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
volumes:
- "${DOCKER_STORAGE_PATH}/gluetun:/gluetun"
env_file:
- ../secrets/protonvpn.env
environment:
# See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
VPN_SERVICE_PROVIDER: protonvpn
FREE_ONLY: on
VPN_TYPE: wireguard
TZ: ${TZ}
SERVER_COUNTRIES: Japan
HTTPPROXY: on
# Server list updater
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
UPDATER_PERIOD: