Initial commit with working nginx and jellyfin

This commit is contained in:
2021-04-23 01:04:44 +02:00
commit f4310c2e7d
7 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,25 @@
- name: run jellyfin container
docker_container:
name: 'jellyfin'
image: linuxserver/jellyfin
volumes:
- "{{ data_folder }}/jellyfin:/config"
- "{{ media.tv }}:/data/tvshows"
- "{{ media.movies }}:/data/movies"
ports:
- "8096:8096"
- "8920:8920"
- "7359:7359/udp"
- "1900:1900/udp"
env:
PUID={{ puid }}
PGID={{ pgid }}
TZ={{ tz }}
devices:
- /dev/dri:/dev/dri
state: started
- name: copy jellyfin config to nginx
template:
src: jellyfin.conf
dest: "{{ nginx_confd_folder }}"
notify: reload nginx