55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
# Server
|
|
PORT=4208
|
|
# HTTPS server port (defaults to 8443, set to 0 or false to disable)
|
|
HTTPS_PORT=8443
|
|
# Backend Monitor Interface port (served when backend is started with npm run dev)
|
|
MONITOR_PORT=4210
|
|
# Optional custom TLS cert/key paths (defaults to auto-generated certs/key.pem and certs/cert.pem)
|
|
# HTTPS_KEY_PATH=./certs/key.pem
|
|
# HTTPS_CERT_PATH=./certs/cert.pem
|
|
BODY_LIMIT=100mb
|
|
|
|
# CORS — comma-separated allowed origins
|
|
CORS_ORIGINS=http://localhost:5173
|
|
|
|
# Auth — Google OAuth client ID and JWT signing secret
|
|
GOOGLE_CLIENT_ID=
|
|
JWT_SECRET=fallback_secret_please_change_in_production
|
|
IMPLICIT_CREATE=false
|
|
|
|
# Database Provider — 'sqlite' or 'mssql' (defaults to 'mssql', or 'sqlite' if SQLITE_PATH is set)
|
|
DB_PROVIDER=sqlite
|
|
# SQLite database path (e.g. './data/dash.db' or ':memory:' for in-memory)
|
|
SQLITE_PATH=./data/dash.db
|
|
|
|
# Database — MSSQL (used when DB_PROVIDER=mssql)
|
|
MSSQL_SERVER=
|
|
MSSQL_DATABASE=
|
|
MSSQL_USER=
|
|
MSSQL_PASSWORD=
|
|
MSSQL_PORT=1433
|
|
MSSQL_ENCRYPT=false
|
|
MSSQL_TRUST_SERVER_CERTIFICATE=false
|
|
|
|
# Article search — category filters (comma-separated IDs)
|
|
KAT_SKIP=
|
|
KAT_LISTS=0
|
|
|
|
# Tax zone name for VAT rates (tSteuerzone.cName)
|
|
STEUER_ZONE=Zone-EU
|
|
|
|
# OpenRouter (leave OPENROUTER_API_URL unset for default OpenRouter endpoint)
|
|
# OPENROUTER_API_URL=http://127.0.0.1:8787/api/v1/chat/completions
|
|
OPENROUTER_FREE_KEY=sk-or-v1-3d3c4e
|
|
OPENROUTER_FREE_MODEL=openrouter/free
|
|
OPENROUTER_PAID_MODEL=openai/gpt-6-luna:floor
|
|
|
|
# Backup Service
|
|
# BACKUP_ENABLED=true
|
|
# BACKUP_DIR=./data/backups
|
|
# BACKUP_INTERVAL_MS=3600000
|
|
# BACKUP_HOURLY_RETENTION=50
|
|
# BACKUP_DAILY_RETENTION=50
|
|
|
|
|