1
0
Fork 0

gluetun: fix formatting, assign ip, turn on http proxy

This commit is contained in:
Lukáš Kucharczyk 2024-11-08 21:50:31 +01:00
parent d5902e14f2
commit c68ec26d58
1 changed files with 38 additions and 33 deletions

View File

@ -1,4 +1,5 @@
---
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun-japan
@ -6,6 +7,9 @@ gluetun:
# 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:
@ -21,14 +25,15 @@ gluetun:
- VPN_SERVICE_PROVIDER=protonvpn
- VPN_TYPE=openvpn
# OpenVPN:
- OPENVPN_USER=${PROTONVPN_USER}
- OPENVPN_PASSWORD=${PROTONVPN_PASSWORD}
# - OPENVPN_USER=
# - OPENVPN_PASSWORD=
# Wireguard:
# - WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU=
# - WIREGUARD_ADDRESSES=10.64.222.21/32
# Timezone for accurate log times
- 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=