feat: harden sessions and track downstream acknowledgements

This commit is contained in:
hectorzhao
2026-07-14 14:18:43 +08:00
parent 3d37adcc9f
commit 8c03663f24
43 changed files with 1733 additions and 150 deletions
+29
View File
@@ -0,0 +1,29 @@
# Web
VITE_API_BASE_URL=http://localhost:3000/api
# API
API_PORT=3000
DATABASE_URL=postgresql://cmpp:cmpp_password@localhost:5432/cmpp_platform?schema=public
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_URL=redis://127.0.0.1:6379
ADMIN_SESSION_IDLE_TIMEOUT_MS=3600000
CLIENT_SESSION_IDLE_TIMEOUT_MS=7200000
SESSION_LOCK_RECOVERY_MS=14400000
SESSION_ABSOLUTE_TIMEOUT_MS=43200000
SESSION_RECENT_AUTH_MS=1800000
# Local HTTP development only. Production must use HTTPS and true.
SESSION_COOKIE_SECURE=false
MINIO_ENDPOINT=localhost:9000
MINIO_ACCESS_KEY=cmpp_minio
MINIO_SECRET_KEY=cmpp_minio_password
MINIO_BUCKET=cmpp-platform
# Gateway
GATEWAY_HEALTH_ADDR=:8090
GATEWAY_REDIS_ADDR=127.0.0.1:6379
GATEWAY_CMPP_VERSION=3.0
GATEWAY_CMPP_ADDR=127.0.0.1:7890
GATEWAY_CMPP_USER=900001
GATEWAY_CMPP_PASSWORD=888888
CMPP_DOWNSTREAM_ACK_TIMEOUT_SECONDS=30