mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
25 lines
687 B
YAML
25 lines
687 B
YAML
services:
|
|
nzbhydra2:
|
|
image: ghcr.io/hotio/nzbhydra2:latest
|
|
container_name: nzbhydra2
|
|
restart: unless-stopped
|
|
expose:
|
|
- 5076
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- UMASK=002
|
|
- TZ=${TZ:-UTC}
|
|
volumes:
|
|
- ${DOCKER_DATA_DIR}/nzbhydra:/config
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.nzbhydra2.rule=Host(`${NZBHYDRA2_HOSTNAME?}`)"
|
|
- "traefik.http.routers.nzbhydra2.entrypoints=websecure"
|
|
- "traefik.http.routers.nzbhydra2.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.nzbhydra2.middlewares=authelia@docker"
|
|
profiles:
|
|
- nzbhydra2
|
|
- all
|
|
- indexers
|