diff --git a/12_torrent/docker-compose.yml b/12_torrent/docker-compose.yml index 2da0108..bd3092b 100644 --- a/12_torrent/docker-compose.yml +++ b/12_torrent/docker-compose.yml @@ -20,7 +20,9 @@ services: - HEALTH_VPN_DURATION_INITIAL=30s - HEALTH_VPN_DURATION_ADDITION=30s - HEALTH_VPN_INTERVAL=30s + - HEALTH_VPN_ENDPOINT_IP= 1.1.1.1 - DNS_ADDRESS=1.1.1.1 + - WIREGUARD_MTU= 1280 - VPN_PORT_FORWARDING_UP_COMMAND=/bin/sh -c 'wget -O- -nv --retry-connrefused --post-data "json={\"listen_port\":{{PORT}},\"current_network_interface\":\"{{VPN_INTERFACE}}\",\"random_port\":false,\"upnp\":false}" http://127.0.0.1:8090/api/v2/app/setPreferences' - VPN_PORT_FORWARDING_DOWN_COMMAND=/bin/sh -c 'wget -O- -nv --retry-connrefused --post-data "json={\"listen_port\":0,\"current_network_interface\":\"lo\"}" http://127.0.0.1:8090/api/v2/app/setPreferences' volumes: