Skip to content

Commit

Permalink
Bind control server auth config for gluetun and set api key for gluet…
Browse files Browse the repository at this point in the history
…rans #59
  • Loading branch information
Miklos Bagi committed Jan 26, 2025
1 parent 9e4f79e commit a931b23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/docker-compose-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
SERVER_COUNTRIES: ${TEST_P_SVCS}
VPN_PORT_FORWARDING: "on"
VPN_PORT_FORWARDING_PROVIDER: protonvpn
volumes:
- ./gluetun-config/config.toml:/gluetun/auth/config.toml
restart: unless-stopped
devices:
- /dev/net/tun:/dev/net/tun
Expand All @@ -33,6 +35,7 @@ services:
context: ../
environment:
GLUETUN_CONTROL_ENDPOINT: http://localhost:8000
GLUETUN_CONTROL_API_KEY: "secret-apikey-for-gluetrans" # must match the one in config.toml
GLUETUN_HEALTH_ENDPOINT: http://localhost:9999
GLUETUN_PICK_NEW_SERVER_AFTER: 10
PEERPORT_CHECK_INTERVAL: 30
Expand Down

0 comments on commit a931b23

Please sign in to comment.