Migrate /mnt/ to /mnt/nas

This commit is contained in:
Joey Hafner 2022-03-02 21:22:19 -08:00
parent b8f0f16c60
commit 73e856f05b
5 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -1,2 +1,2 @@
DOCKER_DATA=/home/joey/data/plex
MEDIA_DIR=/mnt/media
MEDIA_DIR=/mnt/nas/media

View File

@ -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