updates to docker to use nfs mount.
This commit is contained in:
@@ -36,13 +36,13 @@ TP_THEME=nord
|
|||||||
# Use the commands in the Guide to create all the sub-folders in each of these folders.
|
# Use the commands in the Guide to create all the sub-folders in each of these folders.
|
||||||
|
|
||||||
# Host Data Folders - Will accept Linux, Windows, NAS folders
|
# Host Data Folders - Will accept Linux, Windows, NAS folders
|
||||||
FOLDER_FOR_CONFIGS=/home/grail/docker
|
FOLDER_FOR_CONFIGS=/apps/docker
|
||||||
FOLDER_FOR_MEDIA=/media
|
FOLDER_FOR_MEDIA=/media
|
||||||
|
|
||||||
# File access, date and time details for the containers / applications to use.
|
# File access, date and time details for the containers / applications to use.
|
||||||
# Run "sudo id docker" on host computer to find PUID / PGID and update these to suit.
|
# Run "sudo id docker" on host computer to find PUID / PGID and update these to suit.
|
||||||
PUID=1000
|
PUID=2000
|
||||||
PGID=1000
|
PGID=991
|
||||||
UMASK=0002
|
UMASK=0002
|
||||||
TIMEZONE=America/Chicago
|
TIMEZONE=America/Chicago
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${FOLDER_FOR_CONFIGS:?err}/jellyfin/etc/:/config
|
- ${FOLDER_FOR_CONFIGS:?err}/jellyfin/etc/:/config
|
||||||
- ${FOLDER_FOR_CONFIGS:?err}/jellyfin/var/cache:/cache
|
- ${FOLDER_FOR_CONFIGS:?err}/jellyfin/var/cache:/cache
|
||||||
- ${FOLDER_FOR_MEDIA:?err}:/media
|
- media:/media
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /dev/dri
|
source: /dev/dri
|
||||||
target: /dev/dri
|
target: /dev/dri
|
||||||
@@ -111,7 +111,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ${FOLDER_FOR_CONFIGS:?err}/qbittorrent:/config
|
- ${FOLDER_FOR_CONFIGS:?err}/qbittorrent:/config
|
||||||
- ${FOLDER_FOR_MEDIA:?err}:/data
|
- media:/data
|
||||||
- /downloads:/downloads
|
- /downloads:/downloads
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID:?err}
|
- PUID=${PUID:?err}
|
||||||
@@ -142,7 +142,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /ceph:/downloads
|
- /ceph:/downloads
|
||||||
- ${FOLDER_FOR_CONFIGS:?err}/radarr:/config
|
- ${FOLDER_FOR_CONFIGS:?err}/radarr:/config
|
||||||
- ${FOLDER_FOR_MEDIA:?err}:/data
|
- media:/data
|
||||||
ports:
|
ports:
|
||||||
- "${WEBUI_PORT_RADARR:?err}:7878"
|
- "${WEBUI_PORT_RADARR:?err}:7878"
|
||||||
environment:
|
environment:
|
||||||
@@ -153,3 +153,11 @@ services:
|
|||||||
- TP_THEME=${TP_THEME:?err}
|
- TP_THEME=${TP_THEME:?err}
|
||||||
networks:
|
networks:
|
||||||
- media-network
|
- media-network
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
media:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: nfs
|
||||||
|
o: addr=192.168.0.66,rw,nfsvers=4.2,soft,timeo=150,noatime
|
||||||
|
device: ":/media"
|
||||||
Reference in New Issue
Block a user