homelab/tasks/readarr.yml
Renovate Bot 3b3a0a2dd2
Some checks failed
Deploy / Prepare Build (push) Failing after 2m46s
chore(deps): update ghcr.io/linuxserver/readarr:develop docker digest to 4c85ecd
2024-11-03 10:01:18 +00:00

32 lines
977 B
YAML

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