33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
readarr:
|
|
deploy:
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.readarr-rtr.entrypoints: "websecure"
|
|
traefik.http.routers.readarr-rtr.middlewares: "authentik@swarm"
|
|
traefik.http.routers.readarr-rtr.rule: "Host(`readarr.your.domain`)"
|
|
traefik.http.routers.readarr-rtr.service: "readarr"
|
|
traefik.http.services.readarr.loadbalancer.server.port: "8787"
|
|
replicas: 1
|
|
environment:
|
|
PUID: 10017
|
|
PGID: 10002
|
|
UMASK: 0002
|
|
TZ: "Etc/UTC"
|
|
healthcheck:
|
|
test: "curl -f http://localhost:8787"
|
|
interval: 2m
|
|
timeout: 5s
|
|
start_period: 20s
|
|
hostname: "readarr"
|
|
image: "linuxserver/readarr:develop"
|
|
networks:
|
|
- homelab
|
|
restart: on-failure
|
|
volumes:
|
|
- "/srv/data/docker/readarr/config:/config"
|
|
- "/srv/data/shared/usenet:/data/usenet"
|
|
- "/srv/data/shared/torrent:/data/torrent"
|
|
- "/srv/data/shared/media:/data/media"
|
|
- "/srv/data/docker/readarr/custom-cont-init.d:/custom-cont-init.d"
|
|
- "/srv/data/docker/readarr/custom-services.d:/custom-services.d"
|