Update downloader.docker-compose.yml

Signed-off-by: karmacoma <karmacoma@karmacoma.dev>
This commit is contained in:
KARMACOMA 2025-11-24 01:08:42 +00:00
parent f99d1ba438
commit 0255eb651c

View file

@ -39,30 +39,26 @@ services:
- array
labels:
- "traefik.enable=true"
# --- Router Definition (The "Headless" Config) ---
# 1. Define the Host Rule
- "traefik.http.routers.qbittorrent-secure.rule=Host(`qbittorrent.karmacoma.dev`)"
# 2. SSL/TLS Settings (Standard Coolify Defaults)
# 1. The Custom Router (High Priority)
- "traefik.http.routers.qbittorrent-secure.rule=Host(`qbittorrent.karmacoma.dev`)"
- "traefik.http.routers.qbittorrent-secure.entrypoints=websecure"
- "traefik.http.routers.qbittorrent-secure.tls=true"
- "traefik.http.routers.qbittorrent-secure.tls.certresolver=letsencrypt"
# REMOVED: traefik.http.routers.qbittorrent-secure.tls.certresolver=letsencrypt
# (We let Coolify's default router handle the cert generation)
# 3. High Priority (Just in case)
# 2. Priority 1000: This ensures YOUR router (with middleware) handles the traffic,
# even though Coolify creates a default router for the same domain.
- "traefik.http.routers.qbittorrent-secure.priority=1000"
# --- The Security Layer ---
# 4. Attach the Middleware (gzip + authentik)
# 3. The Middleware (Security)
- "traefik.http.routers.qbittorrent-secure.middlewares=gzip,authentik@docker"
# --- Service Definition ---
# 5. Point to the Internal Port (Gluetun/qBit port)
# 4. Service Definition
- "traefik.http.services.qbittorrent-secure.loadbalancer.server.port=8080"
# --- Network Glue (Crucial!) ---
# 6. Tell Traefik which network to use to reach this container
- "traefik.docker.network=array"
# 5. Network (Crucial)
- "traefik.docker.network=coolify"
networks:
array:
external: true