gluetun: fix formatting, assign ip, turn on http proxy
This commit is contained in:
parent
d5902e14f2
commit
c68ec26d58
|
@ -1,34 +1,39 @@
|
||||||
---
|
---
|
||||||
gluetun:
|
services:
|
||||||
image: qmcgaw/gluetun
|
gluetun:
|
||||||
container_name: gluetun-japan
|
image: qmcgaw/gluetun
|
||||||
# line above must be uncommented to allow external containers to connect.
|
container_name: gluetun-japan
|
||||||
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
|
# line above must be uncommented to allow external containers to connect.
|
||||||
cap_add:
|
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
|
||||||
- NET_ADMIN
|
cap_add:
|
||||||
devices:
|
- NET_ADMIN
|
||||||
- /dev/net/tun:/dev/net/tun
|
networks:
|
||||||
ports:
|
public:
|
||||||
- 8888:8888/tcp # HTTP proxy
|
ipv4_address: 192.168.240.49
|
||||||
- 8388:8388/tcp # Shadowsocks
|
devices:
|
||||||
- 8388:8388/udp # Shadowsocks
|
- /dev/net/tun:/dev/net/tun
|
||||||
volumes:
|
ports:
|
||||||
- "${DOCKER_STORAGE_PATH}/gluetun:/gluetun"
|
- 8888:8888/tcp # HTTP proxy
|
||||||
env_file:
|
- 8388:8388/tcp # Shadowsocks
|
||||||
- ../secrets/protonvpn.env
|
- 8388:8388/udp # Shadowsocks
|
||||||
environment:
|
volumes:
|
||||||
# See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
|
- "${DOCKER_STORAGE_PATH}/gluetun:/gluetun"
|
||||||
- VPN_SERVICE_PROVIDER=protonvpn
|
env_file:
|
||||||
- VPN_TYPE=openvpn
|
- ../secrets/protonvpn.env
|
||||||
# OpenVPN:
|
environment:
|
||||||
- OPENVPN_USER=${PROTONVPN_USER}
|
# See https://github.com/qdm12/gluetun-wiki/tree/main/setup#setup
|
||||||
- OPENVPN_PASSWORD=${PROTONVPN_PASSWORD}
|
- VPN_SERVICE_PROVIDER=protonvpn
|
||||||
# Wireguard:
|
- VPN_TYPE=openvpn
|
||||||
# - WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU=
|
# OpenVPN:
|
||||||
# - WIREGUARD_ADDRESSES=10.64.222.21/32
|
# - OPENVPN_USER=
|
||||||
# Timezone for accurate log times
|
# - OPENVPN_PASSWORD=
|
||||||
- TZ=${TZ}
|
# Wireguard:
|
||||||
- SERVER_COUNTRIES=Japan
|
# - WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU=
|
||||||
# Server list updater
|
# - WIREGUARD_ADDRESSES=10.64.222.21/32
|
||||||
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list
|
# Timezone for accurate log times
|
||||||
- UPDATER_PERIOD=
|
- 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=
|
Loading…
Reference in New Issue