app-store/apps/qbittorrent/docker-compose.yml

48 lines
1.9 KiB
YAML
Raw Normal View History

2022-10-13 20:01:10 +00:00
version: "3.7"
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:4.6.5
2022-10-13 20:01:10 +00:00
container_name: qbittorrent
dns:
- ${DNS_IP}
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
- WEBUI_PORT=${APP_PORT}
volumes:
- ${APP_DATA_DIR}/data/config:/config
2023-04-28 20:25:41 +00:00
- ${ROOT_FOLDER_HOST}/media/torrents:/media/torrents
2022-10-13 20:01:10 +00:00
ports:
- ${APP_PORT}:${APP_PORT}
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
networks:
- tipi_main_network
labels:
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.qbittorrent-web-redirect.redirectscheme.scheme: https
traefik.http.services.qbittorrent.loadbalancer.server.port: ${APP_PORT}
# Web
traefik.http.routers.qbittorrent-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.qbittorrent-insecure.entrypoints: web
traefik.http.routers.qbittorrent-insecure.service: qbittorrent
traefik.http.routers.qbittorrent-insecure.middlewares: qbittorrent-web-redirect
# Websecure
2022-10-13 20:01:10 +00:00
traefik.http.routers.qbittorrent.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.qbittorrent.entrypoints: websecure
traefik.http.routers.qbittorrent.service: qbittorrent
traefik.http.routers.qbittorrent.tls.certresolver: myresolver
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Local domain
traefik.http.routers.qbittorrent-local-insecure.rule: Host(`qbittorrent.${LOCAL_DOMAIN}`)
traefik.http.routers.qbittorrent-local-insecure.entrypoints: web
traefik.http.routers.qbittorrent-local-insecure.service: qbittorrent
traefik.http.routers.qbittorrent-local-insecure.middlewares: qbittorrent-web-redirect
# Local domain secure
traefik.http.routers.qbittorrent-local.rule: Host(`qbittorrent.${LOCAL_DOMAIN}`)
traefik.http.routers.qbittorrent-local.entrypoints: websecure
traefik.http.routers.qbittorrent-local.service: qbittorrent
traefik.http.routers.qbittorrent-local.tls: true