- Add LIBRARIES_HOST_PATH env variable for Docker volume mount path
- Update docker-compose.yml to use ${LIBRARIES_HOST_PATH:-../libraries}
- Update .env.example with new variable and documentation
- Allows users to customize the host path for their libraries folder
56 lines
2.0 KiB
Plaintext
56 lines
2.0 KiB
Plaintext
# Stripstream Librarian - Environment Configuration
|
|
|
|
# =============================================================================
|
|
# REQUIRED - Change these values in production!
|
|
# =============================================================================
|
|
|
|
# Master key for Meilisearch authentication (required)
|
|
MEILI_MASTER_KEY=change-me-in-production
|
|
|
|
# Bootstrap token for initial API admin access (required)
|
|
# Use this token for the first API calls before creating proper API tokens
|
|
API_BOOTSTRAP_TOKEN=change-me-in-production
|
|
|
|
# =============================================================================
|
|
# Services Configuration
|
|
# =============================================================================
|
|
|
|
# API Service
|
|
API_LISTEN_ADDR=0.0.0.0:8080
|
|
API_BASE_URL=http://api:8080
|
|
|
|
# Indexer Service
|
|
INDEXER_LISTEN_ADDR=0.0.0.0:8081
|
|
INDEXER_SCAN_INTERVAL_SECONDS=5
|
|
|
|
# Backoffice Web UI
|
|
BACKOFFICE_PORT=8082
|
|
|
|
# =============================================================================
|
|
# Database Configuration
|
|
# =============================================================================
|
|
|
|
# PostgreSQL connection string
|
|
DATABASE_URL=postgres://stripstream:stripstream@postgres:5432/stripstream
|
|
|
|
# =============================================================================
|
|
# Search Configuration
|
|
# =============================================================================
|
|
|
|
# Meilisearch connection URL
|
|
MEILI_URL=http://meilisearch:7700
|
|
|
|
# =============================================================================
|
|
# Storage Configuration
|
|
# =============================================================================
|
|
|
|
# Path to libraries directory inside container
|
|
# In Docker: leave as default /libraries
|
|
# For local dev: set to your local libraries folder path
|
|
LIBRARIES_ROOT_PATH=/libraries
|
|
|
|
# Path to libraries directory on host machine (for Docker volume mount)
|
|
# Default: ../libraries (relative to infra/docker-compose.yml)
|
|
# You can change this to an absolute path on your machine
|
|
LIBRARIES_HOST_PATH=../libraries
|