Migrate from emby to jellyfin
This commit is contained in:
parent
974e0e8467
commit
ceeba55a83
4 changed files with 38 additions and 32 deletions
|
@ -1,22 +0,0 @@
|
||||||
version: "2.3"
|
|
||||||
|
|
||||||
services:
|
|
||||||
emby:
|
|
||||||
image: linuxserver/emby:4.4.2.0-ls41
|
|
||||||
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=true"
|
|
||||||
- "traefik.http.routers.emby.tls.certresolver=le"
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
version: "2.3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
jellyfin:
|
||||||
|
image: linuxserver/jellyfin:v10.5.5-ls52
|
||||||
|
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
|
||||||
|
ports:
|
||||||
|
- 8096:8096
|
||||||
|
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=true"
|
||||||
|
- "traefik.http.routers.jellyfin.tls.certresolver=le"
|
|
@ -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
|
|
@ -4,9 +4,6 @@
|
||||||
- name: Install duplicati
|
- name: Install duplicati
|
||||||
include: duplicati.yml
|
include: duplicati.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
|
||||||
|
|
||||||
|
@ -16,6 +13,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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue