Skip to content

Commit f4ec21d

Browse files
authored
chore: use env vars for gluetun
1 parent 2505526 commit f4ec21d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/arr-suite/docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ services:
181181
environment:
182182
# see https://github.com/qdm12/gluetun-wiki for more details
183183
# example envs based on https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/mullvad.md
184-
- VPN_SERVICE_PROVIDER=mullvad # define the vpn provider
185-
- VPN_TYPE=wireguard # define the vpn protocol to use
186-
- WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= # define your wireguard private key here
187-
- WIREGUARD_ADDRESSES=10.64.222.21/32 # define the ipv4 vpn network subnet here
188-
- SERVER_CITIES=Paris # define the server cities
184+
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER:?VPN_SERVICE_PROVIDER must be set} # define the vpn provider
185+
- VPN_TYPE=${VPN_TYPE:?VPN_TYPE must be set} # define the vpn protocol to use
186+
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY:?WIREGUARD_PRIVATE_KEY must be set} # define your wireguard private key here
187+
- WIREGUARD_ADDRESSES=${WIREGUARD_ADDRESSES:?WIREGUARD_ADDRESSES must be set} # define the ipv4 vpn network subnet here
188+
- SERVER_CITIES=${SERVER_CITIES:?SERVER_CITIES must be set} # define the server cities
189189
volumes:
190190
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/arr-suite/configs/gluetun:/gluetun
191191
restart: unless-stopped

0 commit comments

Comments
 (0)