Validation des chemins externalisée (library-path) avec codes d'erreur explicites, support d'alias LIBRARY_PATH_ALIASES pour traduire un chemin hôte vers le montage conteneur, rejet des doublons de chemin entre bibliothèques, documentation README/.env.example et docker-compose paramétrable via READABOOK_LIBRARY_HOST_PATH. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
11 lines
445 B
Plaintext
11 lines
445 B
Plaintext
# Local compose defaults. Copy to .env when you need machine-specific paths.
|
|
|
|
# Directory mounted read-only as /library in the API container.
|
|
READABOOK_LIBRARY_HOST_PATH=./data/library
|
|
|
|
# Optional path accepted by the API and translated to /library.
|
|
# For QA with the real local corpus, set for example:
|
|
# READABOOK_LIBRARY_HOST_PATH=./Books
|
|
# READABOOK_LIBRARY_ALIAS_FROM=/absolute/path/to/ReadaBook/Books
|
|
READABOOK_LIBRARY_ALIAS_FROM=/library
|