Files
homelab/tasks/sonarr.yml
Renovate Bot bca2b1dcd9
All checks were successful
Deploy / Prepare Build (push) Successful in 11m18s
chore(deps): update linuxserver/sonarr docker tag to v4.0.16
| datasource | package            | from   | to     |
| ---------- | ------------------ | ------ | ------ |
| docker     | linuxserver/sonarr | 4.0.15 | 4.0.16 |
2025-11-08 11:22:32 +00:00

33 lines
860 B
YAML

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