2023-11-05 14:53:29 +00:00
|
|
|
version: "2.1"
|
|
|
|
|
|
|
|
services:
|
|
|
|
gluetun:
|
|
|
|
image: qmcgaw/gluetun
|
|
|
|
container_name: gluetun
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
ports:
|
|
|
|
- 8080:8080 # qbit
|
2023-11-09 00:18:25 +00:00
|
|
|
- 40605:6881 # qbit
|
|
|
|
- 40605:6881/udp # qbit
|
2023-11-05 14:53:29 +00:00
|
|
|
environment:
|
|
|
|
- VPN_SERVICE_PROVIDER=mullvad
|
|
|
|
- VPN_TYPE=wireguard
|
|
|
|
- SERVER_CITIES=Toronto
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
|
|
|
|
qbittorrent:
|
2023-11-09 01:38:48 +00:00
|
|
|
image: lscr.io/linuxserver/qbittorrent:4.6.0-r0-ls294
|
2023-11-05 14:53:29 +00:00
|
|
|
container_name: qbittorrent
|
|
|
|
environment:
|
|
|
|
- PUID=1001
|
|
|
|
- PGID=1001
|
|
|
|
- TZ=America/New_York
|
2023-11-07 03:12:42 +00:00
|
|
|
- WEBUI_PORT=8080
|
2023-11-05 14:53:29 +00:00
|
|
|
volumes:
|
2023-11-05 20:42:26 +00:00
|
|
|
- /media/qbittorrent/config:/config
|
|
|
|
- /media/qbittorrent/downloads:/downloads
|
2023-11-05 14:53:29 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
network_mode: service:gluetun
|
|
|
|
depends_on:
|
|
|
|
gluetun:
|
|
|
|
condition: service_healthy
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.qbittorrent-websecure.entrypoints=websecure"
|
|
|
|
- "traefik.http.routers.qbittorrent-websecure.rule=Host(`qbittorrent.meftimes.com`)"
|
|
|
|
- "traefik.http.routers.qbittorrent-websecure.service=qbittorrent-websecure"
|
2023-11-09 00:18:25 +00:00
|
|
|
# - "traefik.http.routers.qbittorrent.middlewares=authelia@docker"
|
2023-11-05 14:53:29 +00:00
|
|
|
- "traefik.http.services.qbittorrent-websecure.loadbalancer.server.port=8080"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|