-
-
Notifications
You must be signed in to change notification settings - Fork 2
Environment variables
Aerya edited this page Jul 15, 2026
·
1 revision
| Variable | Default | Description |
|---|---|---|
SECRET_KEY |
(required) | Flask session signing key |
GLUETUN_HOST |
host.docker.internal |
Gluetun HTTP proxy host |
GLUETUN_PROXY_PORT |
8887 |
Gluetun HTTP proxy port |
GLUETUN_CONTAINER |
gluetun-airvpn |
Gluetun container name |
COMPOSE_DIR |
/compose |
Path (inside the container) to the Gluetun compose directory |
CONTROL_BACKEND |
auto |
Control backend: automatic detection, or compose / unraid to force a mode |
UNRAID_TEMPLATE_DIR |
/boot/config/plugins/dockerMan/templates-user |
Unraid DockerMan template directory, mounted writable when CONTROL_BACKEND=unraid or when the Gluetun container is detected as DockerMan-managed |
DATA_DIR |
/data |
SQLite database directory |
OPENVPN_CONFIG_DIR |
/openvpn |
Directory writable by Companion for Custom OpenVPN files |
OPENVPN_CONTAINER_DIR |
/gluetun/openvpn |
Equivalent path as seen from the Gluetun container |
DOCKER_HOST |
(local socket) | Set to tcp://socket-proxy:2375 when using the Tecnativa socket proxy |
METRICS_TOKEN |
(empty) | If set, the /metrics endpoint requires Authorization: Bearer <token>; leave empty for open access (standard for internal networks) |
Benchmark parameters (streams, duration, warm-up, retry…) are configured in the UI → Settings.
Repository · Issues · Releases
Français
- Compatibilité
- Démarrage rapide
-
Fonctionnalités
- Mesure de performances
- Résolveurs DNS observés
- Sélection & bascule automatique
- Pools de rotation
- Multi-provider (WireGuard & OpenVPN)
- Catalogue de serveurs Gluetun
- Gestion des containers Docker
- Contrôle trackers BitTorrent
- AirVPN
- Analyse & historique
- Interface & notifications
- Intégration & infrastructure
- Variables d'environnement
-
Fonctionnement
- Mode Sidecar (défaut)
- Mode Proxy HTTP (optionnel)
- Containers à redémarrer après bascule
- Containers à stopper pendant le benchmark
- Contrôle des trackers BitTorrent via le VPN
- Clients BitTorrent et découverte des trackers
- Inventaire des ports forwardés VPN
- Bandeau « Test en cours » et bouton Arrêter
- Sélecteur de serveurs AirVPN
- Vérification rapide avant benchmark (option)
- Optimisation horaire (option)
- Sélection intelligente du benchmark (recommandée pour les gros catalogues)
- Serveurs autorisés avant benchmark (option)
- Éviter les serveurs AirVPN chargés (option, dédié AirVPN)
- Écoute Docker events
- Score de confiance par serveur
- Profils d'usage
- Profils VPN (WireGuard & OpenVPN)
- Pools de rotation
- Score de sélection — composantes de stabilité
- Vue patterns horaires (/history/patterns)
- Détection de nouveaux serveurs AirVPN
- Notifications contextuelles
- Jitter & Packet Loss
- Endpoint Prometheus /metrics
- REST API
- Cycle automatique vs déclenchement manuel
- Dashboard Grafana
- Workflows automatisés
- Notes
- Sécurité
- Crédits
- Licence
English
- Compatibility
- Quick start
- Features
- Environment variables
-
How it works
- Sidecar mode (default)
- HTTP proxy mode (optional)
- Containers to restart after switch
- Containers to pause during benchmark
- BitTorrent tracker checks through the VPN
- BitTorrent clients and tracker discovery
- VPN forwarded port inventory
- "Test running" banner and Stop button
- AirVPN server picker
- Quick check before benchmark (option)
- Time optimization (option)
- Smart benchmark selection (recommended for large catalogues)
- Allowed servers before benchmark (option)
- Avoid loaded AirVPN servers (option, dedicated to AirVPN)
- Docker events listener
- Per-server confidence score
- Usage profiles
- VPN profiles (WireGuard & OpenVPN)
- Rotation pools
- Selection score — stability components
- Hourly patterns view (/history/patterns)
- New AirVPN server detection
- Contextual notifications
- Jitter & Packet Loss
- Prometheus /metrics Endpoint
- REST API
- Automatic cycle vs manual trigger
- Grafana dashboard
- Automated workflows
- Notes
- Security
- Credits
- License