From b9580f9f574d2022965afd193f2adfada94b4be6 Mon Sep 17 00:00:00 2001 From: Viren070 Date: Thu, 13 Feb 2025 01:37:48 +0000 Subject: [PATCH] feat: add optional gluetun --- .env | 5 +++++ compose.yaml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/.env b/.env index 42d715b..67db99b 100644 --- a/.env +++ b/.env @@ -62,6 +62,11 @@ TMDB_ACCESS_TOKEN= # Get your API key from https://fanart.tv/get-an-api-key/ FANART_API_KEY= +# For Gluetun: +# Follow the instructions here to get the WIREGUARD_PRIVATE_KEY +# https://protonvpn.com/support/wireguard-configurations/ +# WIREGUARD_PRIVATE_KEY= + # Any email address will do LETSENCRYPT_EMAIL= diff --git a/compose.yaml b/compose.yaml index 2944307..c3b48f2 100644 --- a/compose.yaml +++ b/compose.yaml @@ -472,6 +472,39 @@ services: interval: 15s timeout: 5s retries: 3 + + # If having issues with Warp, you can try gluetun as an alternative using ProtonVPN (free) + # Guides for other VPN providers are available at https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/ + # gluetun: + # image: qmcgaw/gluetun + # container_name: gluetun + # restart: unless-stopped + # cap_add: + # - NET_ADMIN + # devices: + # - /dev/net/tun:/dev/net/tun + # ports: + # - 127.0.0.1:8888:8888/tcp # HTTP proxy + # environment: + # - VPN_SERVICE_PROVIDER=protonvpn + # - VPN_TYPE=wireguard + # - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY} + # - SERVER_COUNTRIES=Netherlands + # - FREE_ONLY=true + # # Server list updater + # # See https://github.com/qdm12/gluetun-wiki/blob/main/setup/servers.md#update-the-vpn-servers-list + # - UPDATER_PERIOD=24h + # - HTTPPROXY=on + # - HTTPPROXY_LISTENING_ADDRESS=:8888 + # - HTTPPROXY_STEALTH=on + # volumes: + # - gluetun-data:/gluetun + # healthcheck: + # test: ["CMD", "/gluetun-entrypoint", "healthcheck"] + # interval: 60s + # timeout: 5s + # retries: 3 + # start_period: 1m mongodb: image: mongo:latest