Switch from Emby to Jellyfin
Merge remote-tracking branch 'origin/jellyfin'
This commit is contained in:
commit
e5cbae81f4
4 changed files with 35 additions and 31 deletions
|
@ -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
|
|
@ -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
|
|
@ -1,24 +1,24 @@
|
|||
- name: Create emby directory
|
||||
- name: Create jellyfin directory
|
||||
file:
|
||||
path: /opt/emby
|
||||
path: /opt/jellyfin
|
||||
state: directory
|
||||
owner: "{{ docker_user.name }}"
|
||||
mode: "{{ docker_compose_directory_mask }}"
|
||||
become: true
|
||||
|
||||
- name: Install emby compose file
|
||||
- name: Install jellyfin compose file
|
||||
template:
|
||||
src: files/emby/docker-compose.yml
|
||||
dest: /opt/emby/docker-compose.yml
|
||||
src: files/jellyfin/docker-compose.yml
|
||||
dest: /opt/jellyfin/docker-compose.yml
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
||||
validate: /usr/bin/docker-compose -f %s config
|
||||
register: compose_file
|
||||
become: true
|
||||
|
||||
- name: Cycle emby container
|
||||
- name: Cycle jellyfin container
|
||||
docker_compose:
|
||||
project_src: /opt/emby
|
||||
project_src: /opt/jellyfin
|
||||
pull: true
|
||||
remove_orphans: true
|
||||
remove_volumes: true
|
|
@ -1,9 +1,6 @@
|
|||
- name: Install calibre
|
||||
include: calibre.yml
|
||||
|
||||
- name: Install emby
|
||||
include: emby.yml
|
||||
|
||||
- name: Install folding-at-home
|
||||
include: folding-at-home.yml
|
||||
|
||||
|
@ -13,6 +10,9 @@
|
|||
- name: Install gotify
|
||||
include: gotify.yml
|
||||
|
||||
- name: Install jellyfin
|
||||
include: jellyfin.yml
|
||||
|
||||
- name: Install librespeed
|
||||
include: librespeed.yml
|
||||
|
||||
|
|
Loading…
Reference in a new issue