This commit is contained in:
2026-05-26 12:26:05 +02:00
parent db83c00ac7
commit 7de6864f70
24 changed files with 1156 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
# --- Server -----------------------------------------------------------------
HOST=0.0.0.0
PORT=3000
LOG_LEVEL=info
# --- Database ----------------------------------------------------------------
# When running via docker-compose this is overridden to use the `db` service.
DATABASE_URL=postgres://mccc:mccc@localhost:5432/mccc
# --- History -----------------------------------------------------------------
# Minimum seconds between two history snapshots written on ingest.
HISTORY_INTERVAL_SECONDS=300
# --- TLS ---------------------------------------------------------------------
# A self-signed certificate is generated automatically into ./certs when these
# files do not exist. Set TLS_ENABLED=false to serve plain HTTP/WS instead.
TLS_ENABLED=true
TLS_CERT_PATH=./certs/cert.pem
TLS_KEY_PATH=./certs/key.pem
# --- Misc --------------------------------------------------------------------
# Allowed browser origin for the frontend. Use a concrete URL in production.
CORS_ORIGIN=*
# Base URL advertised in the OpenAPI document.
PUBLIC_URL=https://localhost:3000