2024-09-09 22:37:51 +10:00
|
|
|
---
|
|
|
|
- name: Create directories
|
|
|
|
file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
|
|
|
with_items:
|
2024-09-10 22:09:43 +10:00
|
|
|
- "{{ data_folder }}/jellyseerr"
|
|
|
|
- "{{ data_folder }}/jellyseerr/config"
|
2024-09-09 22:37:51 +10:00
|
|
|
|
|
|
|
- name: Create the jellyseerr container
|
|
|
|
docker_container:
|
|
|
|
name: jellyseerr
|
2024-10-20 00:17:16 +10:00
|
|
|
image: fallenbagel/jellyseerr:2.0.1
|
2024-09-09 22:37:51 +10:00
|
|
|
restart_policy: unless-stopped
|
|
|
|
recreate: true
|
|
|
|
networks:
|
|
|
|
- name: proxy
|
|
|
|
env:
|
|
|
|
PUID: "1000"
|
|
|
|
PGID: "1000"
|
|
|
|
TZ: "Australia/Brisbane"
|
|
|
|
volumes:
|
2024-09-10 22:09:43 +10:00
|
|
|
- "{{ data_folder }}/jellyseerr/config:/app/config"
|
2024-09-09 22:37:51 +10:00
|
|
|
labels:
|
|
|
|
traefik.enable: "true"
|
|
|
|
traefik.http.routers.jellyseerr.rule: "Host(`jellyseerr.comprofix.xyz`)"
|
|
|
|
traefik.http.routers.jellyseerr.entrypoints: "https"
|
|
|
|
traefik.http.routers.jellyseerr.tls: "true"
|
|
|
|
traefik.http.services.jellyseerr.loadbalancer.server.port: "5055"
|