feat: 增加生产环境容器编排
This commit is contained in:
@@ -10,6 +10,14 @@ FEISHU_SEARCH_URL=
|
||||
# 生产环境必须替换为安全账号密码,不能使用 admin123456
|
||||
# ============================================
|
||||
APP_ENV=production
|
||||
MYSQL_ROOT_PASSWORD=replace-with-strong-root-password
|
||||
MYSQL_PASSWORD=replace-with-strong-database-password
|
||||
REDIS_PASSWORD=replace-with-strong-redis-password
|
||||
DATABASE_URL=mysql+pymysql://ai_kb:URL编码后的数据库密码@mysql:3306/ai_knowledge_base_v2?charset=utf8mb4
|
||||
REDIS_URL=redis://:URL编码后的Redis密码@redis:6379/0
|
||||
JWT_SECRET_KEY=replace-with-at-least-32-random-characters
|
||||
# 使用命令生成:python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
|
||||
CONFIG_ENCRYPTION_KEY=replace-with-generated-fernet-key
|
||||
BOOTSTRAP_ADMIN_USERNAME=admin
|
||||
BOOTSTRAP_ADMIN_PASSWORD=replace-with-strong-password
|
||||
BOOTSTRAP_ADMIN_NAME=系统管理员
|
||||
|
||||
Reference in New Issue
Block a user