This repository has been archived on 2026-08-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Cyrene/.docker.env.example
T
AskaEth 365f5ceb2f refactor: DevTools → ethend 重命名 + 加入生产环境
- 目录 devtools/ → ethend/
- CLI 脚本 devtools.sh/.bat → ethend.sh/.bat
- 环境变量 DEVTOOLS_PORT → ETHEND_PORT
- docker-compose.yml 新增 ethend 服务(生产部署)
- 同步更新全部文档、注释和配置文件

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-30 09:32:36 +08:00

59 lines
1.7 KiB
Bash

# ========== Cyrene 生产环境 Docker 部署配置 ==========
# 复制此文件为 .docker.env 并填入真实值
# cp .docker.env.example .docker.env
# 使用方式: docker compose --env-file .docker.env up -d
# ========== LLM API(必填) ==========
LLM_API_URL=https://api.openai.com/v1
LLM_API_KEY=sk-xxxxx
LLM_MODEL=gpt-4o
LLM_FALLBACK_MODEL=gpt-4o-mini
# ========== 管理员账号(必填) ==========
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-me-to-secure-password
ADMIN_NICKNAME=管理员
# ========== 安全密钥(必填) ==========
JWT_SECRET=change-me-to-random-secret-string
JWT_EXPIRY_HOURS=720
INTERNAL_SERVICE_TOKEN=change-me-to-random-token
# ========== 数据库 ==========
POSTGRES_USER=cyrene
POSTGRES_PASSWORD=change-me-to-random-password
POSTGRES_DB=cyrene_ai
# ========== Redis ==========
REDIS_PASSWORD=
# ========== MinIO 对象存储 ==========
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=change-me-to-random-password
# ========== 注册与访问控制 ==========
REGISTRATION_ENABLED=false
ALLOWED_ORIGINS=http://localhost:5173,http://localhost:9090
# ========== WebSocket ==========
WS_MAX_CONNECTIONS=1000
SESSION_IDLE_TIMEOUT_MIN=30
# ========== 后台自主思考 ==========
ENABLE_BACKGROUND_THINKING=true
# ========== Webhook(可选) ==========
WEBHOOK_API_KEY=
# ========== 管理控制台端口 ==========
ETHEND_PORT=9090
# ========== 反向代理端口(避免与已有 nginx 等服务冲突) ==========
CADDY_HTTP_PORT=80
CADDY_HTTPS_PORT=443
# ========== 域名与 HTTPS(有域名时填写) ==========
# 留空 = 仅 HTTP;填写域名后 Caddy 自动申请 Let's Encrypt 证书
DOMAIN=
ACME_EMAIL=admin@example.com