mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Update docker compose to use ro for library volumes
This commit is contained in:
parent
33a5893da1
commit
6cf76f6535
@ -1,7 +1,11 @@
|
||||
# Useful config options
|
||||
|
||||
# Library root can either be an absolute path or a relative path to your docker-compose.yml file.
|
||||
LIBRARY_ROOT=./video
|
||||
CACHE_ROOT=/tmp/kyoo_cache
|
||||
LIBRARY_LANGUAGES=en
|
||||
# Hardware transcoding (equivalent of --profile docker compose option).
|
||||
# COMPOSE_PROFILES= # vaapi or qsv or nvidia
|
||||
|
||||
# A pattern (regex) to ignore video files.
|
||||
LIBRARY_IGNORE_PATTERN=.*/[dD]ownloads?/.*
|
||||
|
@ -16,7 +16,7 @@ x-transcoder: &transcoder-base
|
||||
- ./.env
|
||||
volumes:
|
||||
- ./transcoder:/app
|
||||
- ${LIBRARY_ROOT}:/video
|
||||
- ${LIBRARY_ROOT}:/video:ro
|
||||
- ${CACHE_ROOT}:/cache
|
||||
- metadata:/metadata
|
||||
|
||||
@ -70,7 +70,7 @@ services:
|
||||
environment:
|
||||
- KYOO_URL=${KYOO_URL:-http://back:5000}
|
||||
volumes:
|
||||
- ${LIBRARY_ROOT}:/video
|
||||
- ${LIBRARY_ROOT}:/video:ro
|
||||
|
||||
transcoder:
|
||||
<<: *transcoder-base
|
||||
|
@ -10,7 +10,7 @@ x-transcoder: &transcoder-base
|
||||
env_file:
|
||||
- ./.env
|
||||
volumes:
|
||||
- ${LIBRARY_ROOT}:/video
|
||||
- ${LIBRARY_ROOT}:/video:ro
|
||||
- ${CACHE_ROOT}:/cache
|
||||
- metadata:/metadata
|
||||
|
||||
@ -47,7 +47,7 @@ services:
|
||||
environment:
|
||||
- KYOO_URL=${KYOO_URL:-http://back:5000}
|
||||
volumes:
|
||||
- ${LIBRARY_ROOT}:/video
|
||||
- ${LIBRARY_ROOT}:/video:ro
|
||||
|
||||
transcoder:
|
||||
<<: *transcoder-base
|
||||
|
@ -10,7 +10,7 @@ x-transcoder: &transcoder-base
|
||||
env_file:
|
||||
- ./.env
|
||||
volumes:
|
||||
- ${LIBRARY_ROOT}:/video
|
||||
- ${LIBRARY_ROOT}:/video:ro
|
||||
- ${CACHE_ROOT}:/cache
|
||||
- metadata:/metadata
|
||||
|
||||
@ -46,7 +46,7 @@ services:
|
||||
environment:
|
||||
- KYOO_URL=${KYOO_URL:-http://back:5000}
|
||||
volumes:
|
||||
- ${LIBRARY_ROOT}:/video
|
||||
- ${LIBRARY_ROOT}:/video:ro
|
||||
|
||||
transcoder:
|
||||
<<: *transcoder-base
|
||||
|
Loading…
x
Reference in New Issue
Block a user