init migrate docker to nfs mounted

This commit is contained in:
Matt Reeves 2024-12-03 01:26:30 -05:00
parent dc694cfb73
commit ddd7a29493

View file

@ -8,11 +8,13 @@ services:
volumes: volumes:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /docker/appdata/bazarr:/config - /docker/appdata/bazarr:/config
- /data/media:/data/media - nas:/data/media
restart: unless-stopped restart: unless-stopped
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
security_opt:
- apparmor:unconfined
lidarr: lidarr:
image: ghcr.io/linuxserver/lidarr@sha256:5c1f7a05944a1ceea242481801bbc5f908a4cc66e95ae0153b5a59f2d6224b17 image: ghcr.io/linuxserver/lidarr@sha256:5c1f7a05944a1ceea242481801bbc5f908a4cc66e95ae0153b5a59f2d6224b17
@ -23,12 +25,15 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /docker/appdata/lidarr:/config - /docker/appdata/lidarr:/config
- /data:/data - /data:/data
- nas:/data/media
- /docker/appdata/lidarr-extended:/custom-services.d - /docker/appdata/lidarr-extended:/custom-services.d
- /docker/appdata/lidarr-extended1:/custom-cont-init.d - /docker/appdata/lidarr-extended1:/custom-cont-init.d
restart: unless-stopped restart: unless-stopped
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
security_opt:
- apparmor:unconfined
prowlarr: prowlarr:
image: ghcr.io/linuxserver/prowlarr@sha256:2ae64259bfca88972deec4cffa3750a454224283515854408e35af480f167cd7 image: ghcr.io/linuxserver/prowlarr@sha256:2ae64259bfca88972deec4cffa3750a454224283515854408e35af480f167cd7
@ -51,10 +56,13 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /docker/appdata/radarr:/config - /docker/appdata/radarr:/config
- /data:/data - /data:/data
- nas:/data/media
restart: unless-stopped restart: unless-stopped
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
security_opt:
- apparmor:unconfined
sonarr: sonarr:
image: ghcr.io/linuxserver/sonarr@sha256:f1b771bf5f911ddb11aa86170ae27fab5ccde7d4671edcde6a3b264af8662945 image: ghcr.io/linuxserver/sonarr@sha256:f1b771bf5f911ddb11aa86170ae27fab5ccde7d4671edcde6a3b264af8662945
@ -65,10 +73,13 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /docker/appdata/sonarr:/config - /docker/appdata/sonarr:/config
- /data:/data - /data:/data
- nas:/data/media
restart: unless-stopped restart: unless-stopped
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
security_opt:
- apparmor:unconfined
homarr: homarr:
container_name: homarr container_name: homarr
@ -210,3 +221,11 @@ services:
networks: networks:
default: default:
name: arrs_default name: arrs_default
volumes:
nas:
driver: local
driver_opts:
type: nfs
o: addr=nas.lan,vers=4,rw
device: ":/mnt/thePool/thePoolShare/Media"