From 73e856f05b6da2186561a477f956b2eee7135769 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 2 Mar 2022 21:22:19 -0800 Subject: [PATCH] Migrate /mnt/ to /mnt/nas --- docs/Graceful Reboot.md | 2 +- server/config/arr/.env | 2 +- server/config/calibre-web/docker-compose.yml | 4 ++-- server/config/plex/.env | 2 +- server/config/tdarr/.env | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/Graceful Reboot.md b/docs/Graceful Reboot.md index 7479379..2012e97 100644 --- a/docs/Graceful Reboot.md +++ b/docs/Graceful Reboot.md @@ -1,6 +1,6 @@ # NAS The NAS is relied upon for many other hosts on the network, which need to be offlined before the NAS can be shut down. -1. Determine which service stacks rely on the NAS by running `grep -rnwli ~+ -e '/mnt/media\|/mnt/torrenting\|/mnt/calibre'` from the root of the `homelab` repo. +1. Determine which service stacks rely on the NAS by running `grep -rnwli ~+ -e '/mnt/nas/media\|/mnt/torrenting\|/mnt/nas/calibre'` from the root of the `homelab` repo. 2. `docker-compose down` the stacks which rely on the NAS 3. `cat /etc/fstab` to get the list of mount points which rely on the NAS 4. For each NAS mount, run `sudo umount` for that share. diff --git a/server/config/arr/.env b/server/config/arr/.env index f831e91..243b1d2 100644 --- a/server/config/arr/.env +++ b/server/config/arr/.env @@ -1,4 +1,4 @@ DOCKER_DATA=/home/joey/data/arr -MEDIA_DIR=/mnt/media +MEDIA_DIR=/mnt/nas/media DOWNLOAD_DIR=/mnt/md0/torrenting/NZB INCOMPLETE_DOWNLOAD_DIR=/mnt/md0/torrenting/NZB_incomplete diff --git a/server/config/calibre-web/docker-compose.yml b/server/config/calibre-web/docker-compose.yml index c895dee..b24cc03 100644 --- a/server/config/calibre-web/docker-compose.yml +++ b/server/config/calibre-web/docker-compose.yml @@ -9,7 +9,7 @@ services: - TZ=America/Los_Angeles volumes: - calibre-web-rpg_data:/config - - /mnt/calibre/rpg:/books + - /mnt/nas/calibre/rpg:/books labels: - traefik.http.routers.calibre-rpg.rule=Host(`calibre-rpg.jafner.net`) - traefik.http.routers.calibre-rpg.tls.certresolver=lets-encrypt @@ -26,7 +26,7 @@ services: - TZ=America/Los_Angeles volumes: - calibre-web-sff_data:/config - - /mnt/calibre/sff:/books + - /mnt/nas/calibre/sff:/books labels: - traefik.http.routers.calibre-sff.rule=Host(`calibre-sff.jafner.net`) - traefik.http.routers.calibre-sff.tls.certresolver=lets-encrypt diff --git a/server/config/plex/.env b/server/config/plex/.env index c86b704..235f50f 100644 --- a/server/config/plex/.env +++ b/server/config/plex/.env @@ -1,2 +1,2 @@ DOCKER_DATA=/home/joey/data/plex -MEDIA_DIR=/mnt/media +MEDIA_DIR=/mnt/nas/media diff --git a/server/config/tdarr/.env b/server/config/tdarr/.env index 3f45508..7e03025 100644 --- a/server/config/tdarr/.env +++ b/server/config/tdarr/.env @@ -1,5 +1,5 @@ DOCKER_DATA=/home/joey/data/tdarr -MEDIA_DIR=/mnt/media/Video +MEDIA_DIR=/mnt/nas/media/Video TRANSCODE_DIR=/mnt/md0/tdarr ## Generic