This commit is contained in:
2025-12-02 14:23:51 +01:00
parent dff367b18d
commit a0cb7643ed
2 changed files with 21 additions and 0 deletions

19
.env.example Normal file
View File

@@ -0,0 +1,19 @@
# Gluetun VPN Configuration
# Provider (e.g. airvpn, mullvad, nordvpn, surfshark, etc.)
VPN_SERVICE_PROVIDER=
# VPN Type (wireguard or openvpn)
VPN_TYPE=
# WireGuard Credentials
WIREGUARD_PRIVATE_KEY=
WIREGUARD_ADDRESSES=
WIREGUARD_ENDPOINT_IP=
# WIREGUARD_ENDPOINT_PORT=51820
WIREGUARD_PUBLIC_KEY=
WIREGUARD_PRIVATE_KEY=
WIREGUARD_ADDRESSES=
# Traefik Basic Auth
# Format: username:hashedpassword (from htpasswd -nB username)
TRAEFIK_AUTH=

View File

@@ -19,10 +19,12 @@ services:
- traefik.http.middlewares.tidal-redirect.redirectscheme.permanent=true
- traefik.http.middlewares.tidal-redirect.redirectscheme.scheme=https
- traefik.http.routers.tidal.middlewares=tidal-redirect
- traefik.http.middlewares.tidal-auth.basicauth.users=${TRAEFIK_AUTH}
- traefik.http.routers.tidal-secure.entrypoints=https
- traefik.http.routers.tidal-secure.rule=Host(`tidal.dongho.kim`)
- traefik.http.routers.tidal-secure.tls=true
- traefik.http.routers.tidal-secure.tls.certresolver=cloudflare
- traefik.http.routers.tidal-secure.middlewares=tidal-auth
- traefik.http.services.tidal-secure-service.loadbalancer.server.port=8080
web:
build: .