diff --git a/Homelab Diagram.drawio b/Homelab Diagram.drawio new file mode 100644 index 0000000..88303fe --- /dev/null +++ b/Homelab Diagram.drawio @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Homelab Diagram.pdf b/Homelab Diagram.pdf new file mode 100644 index 0000000..233446d Binary files /dev/null and b/Homelab Diagram.pdf differ diff --git a/group_vars/all/vars.yml b/group_vars/all/vars.yml index 2d8dcde..a8b9288 100644 --- a/group_vars/all/vars.yml +++ b/group_vars/all/vars.yml @@ -521,3 +521,14 @@ gitea: token: "{{ host.gitea.runner.token }}" volumes: data: "{{ docker_data_dir }}/gitea/runner/data/" + +# +# Jellyseer +# + +jellyseer: + host: "jellyseer" + ports: + http: "5055" + volumes: + config: "{{ docker_dir }}/jellyseer/config" diff --git a/roles/docker/tasks/aya01_compose.yml b/roles/docker/tasks/aya01_compose.yml index e8467ed..f54e841 100644 --- a/roles/docker/tasks/aya01_compose.yml +++ b/roles/docker/tasks/aya01_compose.yml @@ -95,3 +95,6 @@ tags: - gitea-runner +- include_tasks: jellyseer.yml + tags: + - jellyseer diff --git a/roles/docker/tasks/jellyseer.yml b/roles/docker/tasks/jellyseer.yml new file mode 100644 index 0000000..cdd9672 --- /dev/null +++ b/roles/docker/tasks/jellyseer.yml @@ -0,0 +1,11 @@ +--- +- name: Create jellyfin-config directory + file: + path: "{{ item }}" + owner: "{{ puid }}" + group: "{{ pgid }}" + mode: '755' + state: directory + become: yes + loop: + - "{{ jellyseer.volumes.config }}" diff --git a/roles/docker/templates/aya01/compose.yaml b/roles/docker/templates/aya01/compose.yaml index 92fd659..9ffc14c 100644 --- a/roles/docker/templates/aya01/compose.yaml +++ b/roles/docker/templates/aya01/compose.yaml @@ -407,8 +407,7 @@ services: POSTGRES_USER: {{ paperless.db.user }} POSTGRES_PASSWORD: {{ paperless.db.password }} - paperless: - container_name: {{ paperless.host }} + paperless: container_name: {{ paperless.host }} image: ghcr.io/paperless-ngx/paperless-ngx:latest restart: unless-stopped depends_on: @@ -482,6 +481,20 @@ services: - "GITEA_INSTANCE_URL={{ gitea.url }}" - "GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner.token }}" + {{ jellyseer.host }}: + container_name: {{ jellyseer.host }} + image: fallenbagel/jellyseerr:latest + restart: unless-stopped + environment: + - LOG_LEVEL=info + - TZ={{ timezone }} + depends_on: + - {{ jellyfin.host }} + networks: + - net + volumes: + - {{ jellyseer.volumes.config }}:/app/config + networks: zoneminder: driver: bridge