Update 2 files

- /roles/jellyfin/tasks/main.yml
- /roles/jellyfin/templates/docker-compose.yml.j2
This commit is contained in:
Administrator 2025-10-20 09:00:55 +00:00
parent 0788ad2d01
commit 82e1778985
2 changed files with 3 additions and 8 deletions

View File

@ -3,6 +3,8 @@
file: file:
path: "{{ item }}" path: "{{ item }}"
state: directory state: directory
owner: 1000
group: 1000
mode: 0755 mode: 0755
loop: loop:
- "{{ jellyfin_base_dir }}" - "{{ jellyfin_base_dir }}"

View File

@ -5,8 +5,6 @@ services:
restart: unless-stopped restart: unless-stopped
environment: environment:
- TZ={{ timezone }} - TZ={{ timezone }}
- JELLYFIN_EnableDLNA=true
- JELLYFIN_EnableUPnP=true
user: "1000:1000" user: "1000:1000"
volumes: volumes:
- {{ jellyfin_config_dir }}:/config - {{ jellyfin_config_dir }}:/config
@ -22,9 +20,4 @@ services:
tmpfs: tmpfs:
- /tmp - /tmp
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"