Switch from Emby to Jellyfin

Merge remote-tracking branch 'origin/jellyfin'
This commit is contained in:
Jake Howard 2020-06-25 21:39:19 +01:00
commit e5cbae81f4
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 35 additions and 31 deletions

View file

@ -1,21 +0,0 @@
version: "2.3"
services:
emby:
image: linuxserver/emby:4.4.3.0-ls45
container_name: emby
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- ./config:/config
- /mnt/media/TV:/mnt/TV
- /mnt/media/Movies:/mnt/Movies
ports:
- 8096:8096
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.emby.rule=Host(`media.jakehoward.tech`)
- traefik.http.routers.emby.tls.certresolver=le

View file

@ -0,0 +1,25 @@
version: "2.3"
services:
jellyfin:
image: linuxserver/jellyfin:v10.5.5-ls58
container_name: jellyfin
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- ./config:/config
- /mnt/media/TV:/mnt/TV
- /mnt/media/Movies:/mnt/Movies
tmpfs:
- /config/cache
- /config/log
restart: unless-stopped
devices:
- /dev/dri/card0:/dev/dri/card0
- /dev/dri/renderD128:/dev/dri/renderD128
labels:
- traefik.enable=true
- traefik.http.routers.jellyfin.rule=Host(`media.jakehoward.tech`)
- traefik.http.routers.jellyfin.tls.certresolver=le

View file

@ -1,24 +1,24 @@
- name: Create emby directory - name: Create jellyfin directory
file: file:
path: /opt/emby path: /opt/jellyfin
state: directory state: directory
owner: "{{ docker_user.name }}" owner: "{{ docker_user.name }}"
mode: "{{ docker_compose_directory_mask }}" mode: "{{ docker_compose_directory_mask }}"
become: true become: true
- name: Install emby compose file - name: Install jellyfin compose file
template: template:
src: files/emby/docker-compose.yml src: files/jellyfin/docker-compose.yml
dest: /opt/emby/docker-compose.yml dest: /opt/jellyfin/docker-compose.yml
mode: "{{ docker_compose_file_mask }}" mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}" owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config validate: /usr/bin/docker-compose -f %s config
register: compose_file register: compose_file
become: true become: true
- name: Cycle emby container - name: Cycle jellyfin container
docker_compose: docker_compose:
project_src: /opt/emby project_src: /opt/jellyfin
pull: true pull: true
remove_orphans: true remove_orphans: true
remove_volumes: true remove_volumes: true

View file

@ -1,9 +1,6 @@
- name: Install calibre - name: Install calibre
include: calibre.yml include: calibre.yml
- name: Install emby
include: emby.yml
- name: Install folding-at-home - name: Install folding-at-home
include: folding-at-home.yml include: folding-at-home.yml
@ -13,6 +10,9 @@
- name: Install gotify - name: Install gotify
include: gotify.yml include: gotify.yml
- name: Install jellyfin
include: jellyfin.yml
- name: Install librespeed - name: Install librespeed
include: librespeed.yml include: librespeed.yml