Switch from overseerr to jellyseerr

This commit is contained in:
Mike Wilson
2025-09-03 11:37:21 -04:00
parent 3d5a5afe8d
commit 237b07e76c
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
- name: Create install directory
file:
path: "{{ install_directory }}/{{ role_name }}"
state: directory
owner: "{{ docker_user }}"
mode: "{{ docker_compose_directory_mask }}"
become: true
- name: Copy docker-compose file to destination
template:
src: docker-compose.yml
dest: "{{ install_directory }}/{{ role_name }}/docker-compose.yml"
owner: "{{ docker_user }}"
mode: "{{ docker_compose_file_mask }}"
validate: docker compose -f %s config
become: true
- name: Start docker container
community.docker.docker_compose_v2:
project_src: "{{ install_directory }}/{{ role_name }}"
pull: always
remove_orphans: yes

View File

@@ -0,0 +1,25 @@
networks:
traefik:
external: true
services:
{{ role_name }}:
container_name: "{{ role_name }}"
image: fallenbagel/jellyseerr:latest
restart: unless-stopped
networks:
- traefik
environment:
- LOG_LEVEL=debug
- "TZ={{ timezone }}"
volumes:
- "{{ data_dir }}/{{ role_name }}:/app/config"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
start_period: 20s
timeout: 3s
interval: 15s
retries: 3
labels:
traefik.enable: true
traefik.http.routers.{{ role_name }}.rule: "Host(`requests.{{ personal_domain }}`)"