mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
66 lines
1.8 KiB
YAML
66 lines
1.8 KiB
YAML
services:
|
|
bazarr:
|
|
image: ghcr.io/hotio/bazarr
|
|
container_name: bazarr
|
|
restart: unless-stopped
|
|
expose:
|
|
- 6767
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ:-UTC}
|
|
volumes:
|
|
- ${DOCKER_DATA_DIR}/bazarr/default/config:/config
|
|
- ${DOCKER_DATA_DIR}/bazarr/default/data:/data
|
|
- /mnt:/mnt:rslave
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.bazarr.rule=Host(`${BAZARR_HOSTNAME?}`)"
|
|
- "traefik.http.routers.bazarr.entrypoints=websecure"
|
|
- "traefik.http.routers.bazarr.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.bazarr.middlewares=authelia@docker"
|
|
- "traefik.http.services.bazarr.loadbalancer.server.port=6767"
|
|
profiles:
|
|
- all
|
|
- bazarr
|
|
depends_on:
|
|
decypharr:
|
|
condition: service_healthy
|
|
sonarr:
|
|
condition: service_healthy
|
|
radarr:
|
|
condition: service_healthy
|
|
|
|
|
|
bazarr4k:
|
|
image: ghcr.io/hotio/bazarr
|
|
container_name: bazarr4k
|
|
restart: unless-stopped
|
|
expose:
|
|
- 6767
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ:-UTC}
|
|
volumes:
|
|
- ${DOCKER_DATA_DIR}/bazarr/4k/config:/config
|
|
- ${DOCKER_DATA_DIR}/bazarr/4k/data:/data
|
|
- /mnt:/mnt:rslave
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.bazarr4k.rule=Host(`${BAZARR4K_HOSTNAME?}`)"
|
|
- "traefik.http.routers.bazarr4k.entrypoints=websecure"
|
|
- "traefik.http.routers.bazarr4k.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.bazarr4k.middlewares=authelia@docker"
|
|
- "traefik.http.services.bazarr4k.loadbalancer.server.port=6767"
|
|
profiles:
|
|
- all
|
|
- bazarr
|
|
depends_on:
|
|
decypharr:
|
|
condition: service_healthy
|
|
sonarr4k:
|
|
condition: service_healthy
|
|
radarr4k:
|
|
condition: service_healthy
|