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 - array
labels: labels:
- "traefik.enable=true" - "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.entrypoints=websecure"
- "traefik.http.routers.qbittorrent-secure.tls=true" - "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" - "traefik.http.routers.qbittorrent-secure.priority=1000"
# --- The Security Layer --- # 3. The Middleware (Security)
# 4. Attach the Middleware (gzip + authentik)
- "traefik.http.routers.qbittorrent-secure.middlewares=gzip,authentik@docker" - "traefik.http.routers.qbittorrent-secure.middlewares=gzip,authentik@docker"
# --- Service Definition --- # 4. Service Definition
# 5. Point to the Internal Port (Gluetun/qBit port)
- "traefik.http.services.qbittorrent-secure.loadbalancer.server.port=8080" - "traefik.http.services.qbittorrent-secure.loadbalancer.server.port=8080"
# --- Network Glue (Crucial!) --- # 5. Network (Crucial)
# 6. Tell Traefik which network to use to reach this container - "traefik.docker.network=coolify"
- "traefik.docker.network=array"
networks: networks:
array: array:
external: true external: true