mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
27 lines
707 B
Plaintext
27 lines
707 B
Plaintext
# === SCHICHTPLANER DOCKER COMPOSE ENVIRONMENT VARIABLES ===
|
|
# Diese Datei wird von docker-compose automatisch geladen
|
|
|
|
# Security
|
|
JWT_SECRET=${JWT_SECRET:-your-secret-key-please-change}
|
|
NODE_ENV=${NODE_ENV:-production}
|
|
|
|
# Database
|
|
DB_PATH=${DB_PATH:-/app/data/database.db}
|
|
|
|
# Server
|
|
PORT=${PORT:-3002}
|
|
|
|
# App Configuration
|
|
APP_TITLE="Shift Planning App"
|
|
ENABLE_PRO=${ENABLE_PRO:-false}
|
|
|
|
# Trust Proxy Configuration
|
|
TRUST_PROXY_ENABLED=false
|
|
TRUSTED_PROXY_IPS= # Your load balancer/reverse proxy IPs
|
|
TRUSTED_PROXY_HEADER=x-forwarded-for
|
|
|
|
# Rate Limiting Configuration
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|
|
RATE_LIMIT_SKIP_PATHS=/api/health,/api/status
|
|
RATE_LIMIT_WHITELIST=127.0.0.1,::1 |