fix: Bind mounts in media using short syntax
This commit is contained in:
parent
2758ecf5d3
commit
293e18a821
@ -6,42 +6,11 @@ networks:
|
||||
external: true
|
||||
media:
|
||||
|
||||
volumes:
|
||||
transmission_config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
o: bind
|
||||
type: none
|
||||
device: ${TRANSMISSION_CONFIG_DIRECTORY:-/mnt/stingray/media/transmission-openvpn/config}
|
||||
# Argh, mounting the configuration on the NFS drive is not a good idea!
|
||||
# The sqlite databases in these volumes can have pretty high random RW, so
|
||||
# we should keep these local. But fuck, managing them on a non-network drive
|
||||
# on Swarm is such a pain...
|
||||
# Maybe we can get these to connect to a different DB?
|
||||
jellyseerr_config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
o: bind
|
||||
type: none
|
||||
device: ${JELLYSEERR_CONFIG_DIRECTORY:-/mnt/stingray/media/jellyseerr/config}
|
||||
sonarr_config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
o: bind
|
||||
type: none
|
||||
device: ${SONARR_CONFIG_DIRECTORY:-/mnt/stingray/media/sonarr/config}
|
||||
radarr_config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
o: bind
|
||||
type: none
|
||||
device: ${RADARR_CONFIG_DIRECTORY:-/mnt/stingray/media/radarr/config}
|
||||
prowlarr_config:
|
||||
driver: local
|
||||
driver_opts:
|
||||
o: bind
|
||||
type: none
|
||||
device: ${PROWLARR_CONFIG_DIRECTORY:-/mnt/stingray/media/prowlarr/config}
|
||||
# Argh, mounting the configuration on the NFS drive is not a good idea!
|
||||
# The sqlite databases in these volumes can have pretty high random RW, so
|
||||
# we should keep these local. But fuck, managing them on a non-network drive
|
||||
# on Swarm is such a pain...
|
||||
# Maybe we can get these to connect to a different DB?
|
||||
|
||||
services:
|
||||
transmission-openvpn:
|
||||
@ -52,7 +21,7 @@ services:
|
||||
- traefik
|
||||
- media
|
||||
volumes:
|
||||
- transmission_config:/config
|
||||
- ${TRANSMISSION_CONFIG_DIRECTORY:-/mnt/stingray/media/transmission-openvpn/config}:/config
|
||||
- ${MEDIA_DIRECTORY:-/mnt/media}/torrents:${MEDIA_DIRECTORY:-/mnt/media}/torrents
|
||||
environment:
|
||||
- PUID=${PUID:-8796}
|
||||
@ -104,7 +73,7 @@ services:
|
||||
- media
|
||||
- traefik
|
||||
volumes:
|
||||
- prowlarr_config:/config
|
||||
- ${PROWLARR_CONFIG_DIRECTORY:-/mnt/stingray/media/prowlarr/config}:/config
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@ -133,7 +102,7 @@ services:
|
||||
- media
|
||||
- traefik
|
||||
volumes:
|
||||
- radarr_config:/config
|
||||
- ${RADARR_CONFIG_DIRECTORY:-/mnt/stingray/media/radarr/config}:/config
|
||||
- ${MEDIA_DIRECTORY:-/mnt/media}:${MEDIA_DIRECTORY:-/mnt/media}
|
||||
deploy:
|
||||
labels:
|
||||
@ -165,7 +134,7 @@ services:
|
||||
- media
|
||||
- traefik
|
||||
volumes:
|
||||
- sonarr_config:/config
|
||||
- ${SONARR_CONFIG_DIRECTORY:-/mnt/stingray/media/sonarr/config}:/config
|
||||
- ${MEDIA_DIRECTORY:-/mnt/media}:${MEDIA_DIRECTORY:-/mnt/media}
|
||||
deploy:
|
||||
labels:
|
||||
@ -220,7 +189,7 @@ services:
|
||||
- media
|
||||
- traefik
|
||||
volumes:
|
||||
- jellyseerr_config:/app/config
|
||||
- ${JELLYSEERR_CONFIG_DIRECTORY:-/mnt/stingray/media/jellyseerr/config}:/app/config
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
|
Loading…
x
Reference in New Issue
Block a user