mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
28 lines
734 B
YAML
28 lines
734 B
YAML
services:
|
|
nzbhydra2:
|
|
container_name: nzbhydra2
|
|
image: ghcr.io/hotio/nzbhydra2:latest
|
|
expose:
|
|
- 5076
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- UMASK=002
|
|
- TZ=${TZ:-UTC}
|
|
volumes:
|
|
- ./data/nzbhydra/config:/config
|
|
restart: unless-stopped
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.nzbhydra2.rule=Host(`${NZBHYDRA2_HOSTNAME}`)"
|
|
- "traefik.http.routers.nzbhydra2.entrypoints=websecure"
|
|
- "traefik.http.routers.nzbhydra2.tls.certresolver=myresolver"
|
|
- "flame.type=app"
|
|
- "flame.name=NZBHydra2"
|
|
- "flame.url=https://${NZBHYDRA2_HOSTNAME}"
|
|
networks:
|
|
- addon_network
|
|
|
|
networks:
|
|
addon_network:
|
|
external: true |