move media directories to env file
This commit is contained in:
parent
1bfd569816
commit
af37f66fbe
18
.env
18
.env
@ -9,3 +9,21 @@ DNS_IP=100.111.0.126
|
|||||||
|
|
||||||
# Time zone
|
# Time zone
|
||||||
TZ=America/Chicago
|
TZ=America/Chicago
|
||||||
|
|
||||||
|
# Jellyfin directories
|
||||||
|
JF_MOVIES=/media/jf/movies
|
||||||
|
JF_SHOWS=/media/jf/shows
|
||||||
|
JF_MUSIC=/media/jf/music
|
||||||
|
|
||||||
|
# Immich directories
|
||||||
|
IMMICH_LIBRARY=/media/immich
|
||||||
|
|
||||||
|
# Kiwix directories
|
||||||
|
KIWIX_DIR=/media/kiwix
|
||||||
|
|
||||||
|
# qBittorrent directories
|
||||||
|
QB_EXT_DL=/media/dl
|
||||||
|
|
||||||
|
# Audiobookshelf directories
|
||||||
|
ABS_BOOKS=/media/abs/audiobooks
|
||||||
|
ABS_PODS=/media/abs/podcasts
|
||||||
|
@ -13,8 +13,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 13378:80
|
- 13378:80
|
||||||
volumes:
|
volumes:
|
||||||
- /media/abs/audiobooks:/audiobooks
|
- ${ABS_BOOKS}:/audiobooks
|
||||||
- /media/abs/podcasts:/podcasts
|
- ${ABS_PODS}:/podcasts
|
||||||
- ${DOCKER_DIR}/audiobookshelf/config:/config
|
- ${DOCKER_DIR}/audiobookshelf/config:/config
|
||||||
- ${DOCKER_DIR}/audiobookshelf/metadata:/metadata
|
- ${DOCKER_DIR}/audiobookshelf/metadata:/metadata
|
||||||
dns:
|
dns:
|
||||||
@ -54,7 +54,7 @@ services:
|
|||||||
container_name: immich_server
|
container_name: immich_server
|
||||||
image: ghcr.io/immich-app/immich-server:v1.131.3
|
image: ghcr.io/immich-app/immich-server:v1.131.3
|
||||||
volumes:
|
volumes:
|
||||||
- /media/immich:/usr/src/app/upload
|
- ${IMMICH_LIBRARY}:/usr/src/app/upload
|
||||||
env_file:
|
env_file:
|
||||||
- ${ENV_DIR}/immich.env
|
- ${ENV_DIR}/immich.env
|
||||||
environment:
|
environment:
|
||||||
@ -147,9 +147,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DIR}/jellyfin:/config
|
- ${DOCKER_DIR}/jellyfin:/config
|
||||||
- ${DOCKER_DIR}/jellyfin/theme:/usr/share/jellyfin/web/theme
|
- ${DOCKER_DIR}/jellyfin/theme:/usr/share/jellyfin/web/theme
|
||||||
- /media/jf/movies:/data/movies
|
- ${JF_MOVIES}:/data/movies
|
||||||
- /media/jf/shows:/data/tvshows
|
- ${JF_SHOWS}:/data/tvshows
|
||||||
- /media/jf/music:/data/music
|
- ${JF_MUSIC}:/data/music
|
||||||
ports:
|
ports:
|
||||||
- 8096:8096
|
- 8096:8096
|
||||||
- 7539:7539/udp
|
- 7539:7539/udp
|
||||||
@ -197,7 +197,7 @@ services:
|
|||||||
- ${DOCKER_DIR}/backrest/cache:/cache
|
- ${DOCKER_DIR}/backrest/cache:/cache
|
||||||
- ${DOCKER_DIR}/backrest/tmp:/tmp
|
- ${DOCKER_DIR}/backrest/tmp:/tmp
|
||||||
- ${DOCKER_DIR}:/userdata/docker
|
- ${DOCKER_DIR}:/userdata/docker
|
||||||
- /media/immich:/userdata/immich
|
- ${IMMICH_LIBRARY}:/userdata/immich
|
||||||
environment:
|
environment:
|
||||||
- BACKREST_DATA=/data
|
- BACKREST_DATA=/data
|
||||||
- BACKREST_CONFIG=/config/config.json
|
- BACKREST_CONFIG=/config/config.json
|
||||||
@ -348,7 +348,7 @@ services:
|
|||||||
image: ghcr.io/kiwix/kiwix-serve
|
image: ghcr.io/kiwix/kiwix-serve
|
||||||
container_name: kiwix-serve
|
container_name: kiwix-serve
|
||||||
volumes:
|
volumes:
|
||||||
- /media/kiwix:/data
|
- ${KIWIX_DIR}:/data
|
||||||
ports:
|
ports:
|
||||||
- 8765:8080
|
- 8765:8080
|
||||||
command: '*.zim'
|
command: '*.zim'
|
||||||
@ -745,8 +745,8 @@ services:
|
|||||||
- tz=america/chicago
|
- tz=america/chicago
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DIR}/bazarr:/config
|
- ${DOCKER_DIR}/bazarr:/config
|
||||||
- /media/jf/movies:/movies
|
- ${JF_MOVIES}:/movies
|
||||||
- /media/jf/shows:/tv
|
- ${JF_SHOWS}:/tv
|
||||||
ports:
|
ports:
|
||||||
- 6767:6767
|
- 6767:6767
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -816,7 +816,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DIR}/qbittorrent/config:/config
|
- ${DOCKER_DIR}/qbittorrent/config:/config
|
||||||
- ${DOCKER_DIR}/qbittorrent/downloads:/downloads
|
- ${DOCKER_DIR}/qbittorrent/downloads:/downloads
|
||||||
- /media/downloads:/ext_dl
|
- ${QB_EXT_DL}:/ext_dl
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
## Radarr (movie downloading)
|
## Radarr (movie downloading)
|
||||||
@ -830,7 +830,7 @@ services:
|
|||||||
- PGID=1000
|
- PGID=1000
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DIR}/radarr:/config
|
- ${DOCKER_DIR}/radarr:/config
|
||||||
- /media/jf/movies:/Movies #optional
|
- ${JF_MOVIES}:/Movies #optional
|
||||||
- ${DOCKER_DIR}/qbittorrent/downloads:/downloads #optional
|
- ${DOCKER_DIR}/qbittorrent/downloads:/downloads #optional
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
@ -848,7 +848,7 @@ services:
|
|||||||
- TP_THEME=dark
|
- TP_THEME=dark
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DIR}/sonarr:/config
|
- ${DOCKER_DIR}/sonarr:/config
|
||||||
- /media/jf/shows:/TV Shows
|
- ${JF_SHOWS}:/TV Shows
|
||||||
- ${DOCKER_DIR}/qbittorrent/downloads:/downloads
|
- ${DOCKER_DIR}/qbittorrent/downloads:/downloads
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user