init
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user