管理员默认密码 admin/admin,首次登录强制改密码;增加服务器部署配置

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
fish
2026-05-03 17:44:08 +08:00
parent ff09715511
commit d742d4972c
14 changed files with 350 additions and 49 deletions

View File

@@ -24,7 +24,7 @@ services:
postgres:
condition: service_healthy
ports:
- "8000:8000"
- "4001:8000"
command: ["uvicorn", "src.api:app", "--host", "0.0.0.0", "--port", "8000"]
web:
@@ -40,7 +40,7 @@ services:
depends_on:
- postgres
ports:
- "8080:8080"
- "4000:8080"
volumes:
- ./data:/app/auth
restart: unless-stopped