feat(project): init

This commit is contained in:
2026-02-02 14:27:56 +08:00
commit ed3219deb4
46 changed files with 7235 additions and 0 deletions

19
.env.example Normal file
View File

@@ -0,0 +1,19 @@
SERVICE_NAME=cms-service
LOG_LEVEL=info
LOG_TO_FILE=false
LOG_DIR=./log
LOG_FILE_NAME=cms.log
PORT=3100
DATABASE_URL=postgres://cms_service_user:cms_service_password@127.0.0.1:5432/cms_service_db
DB_MAX_CONNECTIONS=20
DB_MIN_CONNECTIONS=5
IAM_BASE_URL=http://127.0.0.1:3000
IAM_JWKS_URL=
JWT_PUBLIC_KEY_PEM=
IAM_TIMEOUT_MS=2000
IAM_CACHE_TTL_SECONDS=10
IAM_STALE_IF_ERROR_SECONDS=60
IAM_CACHE_MAX_ENTRIES=50000