Update File_Containers/qbittorrent/compose.yaml
This commit is contained in:
@@ -12,8 +12,35 @@ services:
|
|||||||
- /srv/docker/qbittorrent/appdata:/config
|
- /srv/docker/qbittorrent/appdata:/config
|
||||||
- ${PATH_NAME}:/downloads #optional
|
- ${PATH_NAME}:/downloads #optional
|
||||||
ports:
|
ports:
|
||||||
- 8082:8080
|
#- 8080:8080
|
||||||
- 6881:6881
|
- 6881:6881
|
||||||
- 6881:6881/udp
|
- 6881:6881/udp
|
||||||
stop_grace_period: "10s" #optional
|
stop_grace_period: "10s" #optional
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- traefik_network
|
||||||
|
labels:
|
||||||
|
### Auto create icon on Flame dashboard
|
||||||
|
- flame.type=application
|
||||||
|
- flame.name=${SERVICE_NAME}
|
||||||
|
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME}
|
||||||
|
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/qbittorrent.png
|
||||||
|
### Traefik Labels
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.${SERVICE_NAME}-https.tls=true
|
||||||
|
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
|
||||||
|
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
|
||||||
|
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
|
||||||
|
- traefik.http.services.${SERVICE_NAME}.loadbalancer.server.port=8080
|
||||||
|
### Monitor with uptime-kuma
|
||||||
|
- kuma.monitoring.group.name=Docker Containers
|
||||||
|
- kuma.${SERVICE_NAME}.docker.parent_name=monitoring
|
||||||
|
- kuma.${SERVICE_NAME}.docker.name=${SERVICE_NAME}
|
||||||
|
- kuma.${SERVICE_NAME}.docker.type=docker
|
||||||
|
- kuma.${SERVICE_NAME}.docker.docker_container=${SERVICE_NAME}
|
||||||
|
- kuma.${SERVICE_NAME}.docker.docker_host=1
|
||||||
|
- 'kuma.${SERVICE_NAME}.docker.tag_names=[{"name": "docker_tag"}]'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
traefik_network:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user