2026-05-15 19:26:25 +08:00
|
|
|
SUB2API_CRM_LISTEN_ADDR=:8080
|
|
|
|
|
SUB2API_CRM_SQLITE_DSN=file:/data/sub2api-cn-relay-manager.db?_foreign_keys=on&_busy_timeout=5000
|
|
|
|
|
SUB2API_CRM_ADMIN_TOKEN=change-me-before-production
|
2026-05-28 11:01:29 +08:00
|
|
|
SUB2API_CRM_ADMIN_USERNAME=admin
|
|
|
|
|
SUB2API_CRM_ADMIN_PASSWORD=change-me-before-production
|
|
|
|
|
SUB2API_CRM_ADMIN_SESSION_TTL=12h
|
2026-05-29 07:43:29 +08:00
|
|
|
SUB2API_CRM_ROUTE_RUNTIME_BACKEND=memory
|
|
|
|
|
SUB2API_CRM_REDIS_ADDR=
|
|
|
|
|
SUB2API_CRM_REDIS_PASSWORD=
|
|
|
|
|
SUB2API_CRM_REDIS_DB=0
|
2026-06-09 07:48:03 +08:00
|
|
|
|
|
|
|
|
# Trusted Subject Proxy Configuration (for portal user key self-service)
|
|
|
|
|
# These must be synchronized with nginx config
|
|
|
|
|
SUB2API_CRM_TRUSTED_SUBJECT_HEADER=X-CRM-Authenticated-Subject
|
|
|
|
|
SUB2API_CRM_TRUSTED_PROXY_SECRET_HEADER=X-CRM-Trusted-Proxy
|
|
|
|
|
SUB2API_CRM_TRUSTED_PROXY_SECRET=change-me-64-char-hex-secret-for-production
|