28 lines
862 B
Plaintext
28 lines
862 B
Plaintext
|
|
# Kererū Forms environment sample
|
||
|
|
# Copy this file to .env next to the executable (or in the working directory).
|
||
|
|
# Values are never overwritten by existing environment variables.
|
||
|
|
|
||
|
|
# Logging
|
||
|
|
KERERU_LOG_LEVEL=info
|
||
|
|
KERERU_LOG_FORMAT=console
|
||
|
|
KERERU_ENVIRONMENT=development
|
||
|
|
|
||
|
|
# HTTP listeners (IPv4 and/or IPv6)
|
||
|
|
KERERU_LISTEN_ADDR=0.0.0.0
|
||
|
|
KERERU_LISTEN_ADDR6=
|
||
|
|
KERERU_PORT=8080
|
||
|
|
|
||
|
|
# Database (SQLite by default; swap to PostgreSQL/MariaDB later via dbDriver)
|
||
|
|
KERERU_DB_DRIVER=sqlite
|
||
|
|
KERERU_DB_DSN=file:kereru.db?_pragma=busy_timeout(5000)&_pragma=foreign_keys(1)
|
||
|
|
|
||
|
|
# Optional: directory with the built SPA (served with history fallback)
|
||
|
|
KERERU_STATIC_DIR=
|
||
|
|
|
||
|
|
# Telemetry (OpenTelemetry OTLP)
|
||
|
|
KERERU_TELEMETRY_ENABLED=false
|
||
|
|
OTEL_EXPORTER_OTLP_ENDPOINT=localhost:4318
|
||
|
|
|
||
|
|
# CORS allowed origins (comma separated). Use "*" to allow all.
|
||
|
|
KERERU_CORS_ORIGINS=http://localhost:5173
|