Add jellyfin to ansible

This commit is contained in:
Tobias Reisinger 2023-12-09 16:20:45 +01:00
parent 532d357197
commit 4a6fc7753f
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 45 additions and 4 deletions
_ansible/roles/jellyfin/vars

View file

@ -0,0 +1,26 @@
svc:
domain: "media.serguzim.me"
name: jellyfin
port: 8096
db:
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
svc_env:
JELLYFIN_PublishedServerUrl: "https://{{ svc. domain }}"
compose:
watchtower: true
image: jellyfin/jellyfin
user: 8096:8096
env: true
volumes:
- config:/config
- cache:/cache
- media:/media
file:
volumes:
config:
cache:
media: