mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-12 04:28:28 +08:00
chore: 更新 docker-compose 命令为 docker compose
统一使用 Docker Compose V2 的现代写法
This commit is contained in:
@@ -411,7 +411,7 @@ def init_db():
|
||||
print(" 3. 数据库用户名和密码是否正确", file=sys.stderr)
|
||||
print("", file=sys.stderr)
|
||||
print("如果使用 Docker,请先运行:", file=sys.stderr)
|
||||
print(" docker-compose up -d postgres redis", file=sys.stderr)
|
||||
print(" docker compose up -d postgres redis", file=sys.stderr)
|
||||
print("", file=sys.stderr)
|
||||
print("=" * 60, file=sys.stderr)
|
||||
# 使用 os._exit 直接退出,避免 uvicorn 捕获并打印堆栈
|
||||
|
||||
Reference in New Issue
Block a user