infrastructure/playbooks/roles/jellyfin/defaults/main.yml

30 lines
812 B
YAML

---
jellyfin_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 8096
db:
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
jellyfin_env:
JELLYFIN_PublishedServerUrl: https://{{ svc.domain }}
jellyfin_compose:
watchtower: update
image: jellyfin/jellyfin
volumes:
- config:/config
- cache:/cache
- media:/media
file:
services:
app:
user: 8096:8096
volumes:
config:
cache:
media:
driver_opts:
type: cifs
o: "seal,username={{ opentofu.hcloud_storage_box_accounts.jellyfin.user }},password={{ opentofu.hcloud_storage_box_accounts.jellyfin.pass }}"
device: "//{{ opentofu.hcloud_storage_box_accounts.jellyfin.host }}/{{ opentofu.hcloud_storage_box_accounts.jellyfin.user }}"