From 1af1c4720e3f28c6b6cf000418e2081f84d30131 Mon Sep 17 00:00:00 2001 From: Keiran Date: Thu, 7 Aug 2025 18:34:23 +0100 Subject: [PATCH] update env example with proposed config changes --- .env.example | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.env.example b/.env.example index d979a7a..392e202 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,22 @@ # Do not use quotes, make will scream at you + +# Database Configuration DATABASE_URL=postgres://user:password@localhost/termcloud + +# Server Configuration PORT=8080 +STORAGE_DIR=storage +MAX_FILE_SIZE_MB=100 +RATE_LIMIT=20.0 +CORS_ORIGINS=* +GZIP_LEVEL=5 + +# Database Pool Configuration +DB_MAX_CONNECTIONS=100 +DB_MIN_CONNECTIONS=10 +DB_CONN_LIFETIME=1h +DB_CONN_IDLE_TIME=1m +DB_HEALTH_CHECK_PERIOD=5s + +# User Defaults +DEFAULT_STORAGE_LIMIT_GB=1