Files
bookhoard/.env.example
T
john-okeefe 033271d267 Update project configuration for Bookhoard organization rename
Phase 1 of Gitea repository migration:
- Rename docker containers: bookmann_db → bookhoard_db, bookmann → bookhoard
- Update database name: bookmann → bookhoard
- Rename environment variables: BOOKMANN_* → BOOKHOARD_*
- Update documentation references to new project name

This prepares the codebase for migration to Bookhoard organization.
2026-02-01 16:10:29 -05:00

28 lines
1.0 KiB
Bash

# Environment Variables
# Copy this file to .env and update the values
# JWT Secret for authentication (generate a secure random string)
JWT_SECRET=your-secure-jwt-secret-key-here
# PostgreSQL database password
DBPASS=your-secure-database-password-here
# Test Mode Configuration (WARNING: Only set to true for integration testing)
# When enabled, rate limiting is disabled to allow rapid test execution
# Never enable in production environments
TEST_MODE=false
# Rate Limiting Configuration
# Set to false to disable rate limiting (only for test environments)
RATE_LIMIT_ENABLED=true
# Number of requests allowed per minute per IP (default: 10)
# Increase for integration testing (e.g., 1000)
REQUESTS_PER_MINUTE=10
# Conversion Service Configuration
# Directory for caching converted files (KEPUB, etc.)
BOOKHOARD_CONVERSION_CACHE_DIR=/var/bookhoard/cache/kepub
# Conversion tool to use (kepubify or ebook-convert)
BOOKHOARD_CONVERSION_TOOL=/usr/bin/kepubify
# Cache TTL for converted files (e.g., 24h, 12h, 48h)
BOOKHOARD_CONVERSION_CACHE_TTL=24h