fix: 移除后台登录默认凭据

This commit is contained in:
2026-07-09 16:45:09 +08:00
parent 55333445f4
commit ef24868105
5 changed files with 53 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ services:
context: ./apps/backend
container_name: ai_kb_v2_backend
environment:
APP_ENV: docker
APP_ENV: ${APP_ENV:-docker}
DEBUG: "true"
DATABASE_URL: mysql+pymysql://ai_kb:ai_kb@mysql:3306/ai_knowledge_base_v2?charset=utf8mb4
REDIS_URL: redis://redis:6379/0
@@ -58,6 +58,9 @@ services:
FEISHU_SEARCH_URL: "${FEISHU_SEARCH_URL:-}"
FEISHU_APP_ID: "${FEISHU_APP_ID:-}"
FEISHU_APP_SECRET: "${FEISHU_APP_SECRET:-}"
BOOTSTRAP_ADMIN_USERNAME: ${BOOTSTRAP_ADMIN_USERNAME:-admin}
BOOTSTRAP_ADMIN_PASSWORD: ${BOOTSTRAP_ADMIN_PASSWORD:-admin123456}
BOOTSTRAP_ADMIN_NAME: ${BOOTSTRAP_ADMIN_NAME:-系统管理员}
AUTO_CREATE_TABLES: "false"
ports:
- "8100:8100"