Adds TZ env var to docker-compose.yml app service (defaults to UTC) and documents it in .env.example. This ensures the Go runtime's time.Local is set correctly inside the container for any server-side time operations that don't use an explicit timezone.
24 lines
968 B
Bash
24 lines
968 B
Bash
# Environment Variables
|
|
# Copy this file to .env and update the values
|
|
# Only secrets are required - all other settings have defaults in docker-compose.yml
|
|
|
|
# JWT Secret for authentication (generate a secure random string)
|
|
# Generate with: openssl rand -hex 32
|
|
JWT_SECRET=your-secure-jwt-secret-key-here
|
|
|
|
# PostgreSQL database password
|
|
# Generate with: openssl rand -hex 16
|
|
DBPASS=your-secure-database-password-here
|
|
|
|
# Optional: Override Defaults (defaults are set in docker-compose.yml)
|
|
# Test Mode: WARNING - Only set to true for integration testing
|
|
# TEST_MODE=true
|
|
# Rate Limiting: Disable or increase limits for testing
|
|
# RATE_LIMIT_ENABLED=false
|
|
# REQUESTS_PER_MINUTE=1000
|
|
# Conversion Tool: Switch from kepubify to ebook-convert
|
|
# BOOKHOARD_CONVERSION_TOOL=/usr/bin/ebook-convert
|
|
# Conversion Cache TTL: Override default 24h
|
|
# BOOKHOARD_CONVERSION_CACHE_TTL=48h
|
|
# System timezone (fallback for server-side time operations, defaults to UTC)
|
|
# TZ=America/New_York |