From 711dc58f2e496d1afae8c600caa1450986a90c3e Mon Sep 17 00:00:00 2001 From: Tuan-Dat Tran Date: Fri, 15 Nov 2024 00:09:08 +0100 Subject: [PATCH] fix(docker/jellyfin): Moved jellyfin config to local machine due to error with sqlite dbs used for config Signed-off-by: Tuan-Dat Tran --- roles/docker_host/files/compose.yaml | 25 ++++++++------------- roles/docker_host/tasks/directory_setup.yml | 1 - 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/roles/docker_host/files/compose.yaml b/roles/docker_host/files/compose.yaml index 1119ff4..d14c3fb 100644 --- a/roles/docker_host/files/compose.yaml +++ b/roles/docker_host/files/compose.yaml @@ -289,7 +289,7 @@ services: devices: - /dev/dri:/dev/dri volumes: - - /opt/docker/config/jellyfin/config:/config + - /opt/local/jellyfin/config:/config - /opt/docker/config/jellyfin/cache:/cache - /media/series:/tv:ro - /media/movies:/movies:ro @@ -374,29 +374,25 @@ services: - USER_UID=1000 - USER_GID=1000 - athome: - container_name: athome - image: mos4/athome:latest - restart: unless-stopped - depends_on: - - nginx - networks: - - net - ports: - - "10000:8080" - changedetection: container_name: changedetection image: dgtlmoon/changedetection.io restart: unless-stopped + depends_on: + - nginx networks: - net volumes: - "/opt/docker/config/changedetection/data/:/datastore" calibre: - image: lscr.io/linuxserver/calibre-web:latest container_name: calibre + image: lscr.io/linuxserver/calibre-web:latest + restart: unless-stopped + depends_on: + - nginx + networks: + - net environment: - PUID=1000 - PGID=1000 @@ -405,9 +401,6 @@ services: volumes: - "/opt/local/calibre/:/config" - "/media/docker/data/calibre/:/books" - ports: - - 8084:8083 - restart: unless-stopped networks: net: diff --git a/roles/docker_host/tasks/directory_setup.yml b/roles/docker_host/tasks/directory_setup.yml index b35ed41..5846e41 100644 --- a/roles/docker_host/tasks/directory_setup.yml +++ b/roles/docker_host/tasks/directory_setup.yml @@ -60,7 +60,6 @@ path: /media/ owner: tudattr group: tudattr - recurse: true become: true - name: Ensure /media/docker is mounted via NFS