-
Notifications
You must be signed in to change notification settings - Fork 3
/
lidarr.yml
37 lines (35 loc) · 990 Bytes
/
lidarr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "3.7"
services:
lidarr:
# image: linuxserver/lidarr:latest
image: lidarr
networks:
- overlay_network
environment:
- PUID=${PUID}
- PGID=${GROUP_ID_DOWNLOADERS}
- TZ=${TZ}
- UMASK=007
volumes:
- "${HTPC_CONFIG_DIR}/lidarr:/config"
- "${HTPC_MUSIC_DIR}:/music"
- "${HTPC_COMPLETED_DIR}:/completed"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8686"]
interval: 2m
timeout: 5s
retries: 3
start_period: 1m
deploy:
restart_policy:
condition: on-failure
labels:
- traefik.enable=true
- traefik.http.routers.lidarr.entrypoints=websecure
- traefik.http.routers.lidarr.rule=Host(`lidarr.${HTPC_DOMAIN}`)
- traefik.http.routers.lidarr.tls=true
- traefik.http.routers.lidarr.middlewares=auth
- traefik.http.services.lidarr.loadbalancer.server.port=8686
networks:
overlay_network:
external: true