- 搭建 FastAPI、Redis、PostgreSQL、Nginx 与 Docker Compose 基础结构 - 实现反向代理、首用绑定、拦截告警、归档任务和管理接口 - 提供 Vue3 管理后台初版,以及 uv/requirements 双依赖配置
15 lines
467 B
Plaintext
15 lines
467 B
Plaintext
DOWNSTREAM_URL=http://new-api:3000
|
|
REDIS_ADDR=redis://redis:6379
|
|
REDIS_PASSWORD=
|
|
PG_DSN=postgresql+asyncpg://sentinel:password@postgres:5432/sentinel
|
|
SENTINEL_HMAC_SECRET=replace-with-a-random-32-byte-secret
|
|
ADMIN_PASSWORD=replace-with-a-strong-password
|
|
ADMIN_JWT_SECRET=replace-with-a-random-jwt-secret
|
|
TRUSTED_PROXY_IPS=172.18.0.0/16
|
|
SENTINEL_FAILSAFE_MODE=closed
|
|
APP_PORT=7000
|
|
ALERT_WEBHOOK_URL=
|
|
ALERT_THRESHOLD_COUNT=5
|
|
ALERT_THRESHOLD_SECONDS=300
|
|
ARCHIVE_DAYS=90
|