chore: 加固生产部署配置
- 移除未使用的 Redis 服务 - 移除 PostgreSQL 端口暴露,仅保留 Docker 内部访问 - server 添加 healthcheck,mcp 依赖 server 确保 migration 完成后启动 - .dockerignore 排除 .env 等敏感文件 - .env.example 对齐实际所需字段 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
19
.env.example
19
.env.example
@@ -1,18 +1,9 @@
|
||||
DATABASE_URL=postgresql://agentfox:agentfox@localhost:5432/agentfox
|
||||
JWT_SECRET=change-me-to-a-random-secret
|
||||
JWT_REFRESH_SECRET=change-me-to-another-random-secret
|
||||
GITHUB_CLIENT_ID=
|
||||
GITHUB_CLIENT_SECRET=
|
||||
API_KEY_ENCRYPTION_SECRET=change-me-to-a-64-char-hex-string
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
MCP_BASE_URL=http://localhost:3001
|
||||
SERVER_PORT=3000
|
||||
MCP_PORT=3001
|
||||
WEB_PORT=5173
|
||||
REDIS_URL=redis://localhost:6379
|
||||
APPLE_CLIENT_ID=
|
||||
APPLE_TEAM_ID=
|
||||
APPLE_KEY_ID=
|
||||
APPLE_PRIVATE_KEY=
|
||||
OAUTH_CALLBACK_BASE_URL=http://localhost:3000
|
||||
FRONTEND_URL=http://localhost:5173
|
||||
GITHUB_CLIENT_ID=
|
||||
GITHUB_CLIENT_SECRET=
|
||||
OAUTH_CALLBACK_BASE_URL=https://your-domain.com
|
||||
FRONTEND_URL=https://your-domain.com
|
||||
|
||||
Reference in New Issue
Block a user