Files
homelab/tasks/lidarr.yml
Matthew McKinnon 6208f61652
All checks were successful
Deploy / Prepare Build (push) Successful in 24m50s
chore: update container image
2025-10-15 20:05:45 +10:00

35 lines
908 B
YAML

---
- name: Create directories
file:
path: "{{ item }}"
state: directory
with_items:
- "/data/lidarr"
- "/data/lidarr/config"
- name: Create the lidarr container
docker_container:
name: lidarr
image: ghcr.io/linuxserver/lidarr:2.14.5
restart_policy: unless-stopped
networks:
- name: proxy
env:
PUID: "1000"
PGID: "1000"
TZ: "Australia/Brisbane"
AUTO_UPDATE: "true" #optional
DOCKER_MODS: "ghcr.io/themepark-dev/theme.park:lidarr"
volumes:
- "/data/lidarr/config:/config"
- /mnt/nfs/data:/data
labels:
traefik.enable: "true"
traefik.http.routers.lidarr.rule: "Host(`lidarr.comprofix.xyz`)"
traefik.http.routers.lidarr.entrypoints: "https"
traefik.http.routers.lidarr.tls: "true"
traefik.http.services.lidarr.loadbalancer.server.port: "8686"
pull: true
recreate: true