fix: 修复Docker全栈部署配置

This commit is contained in:
Nixevol
2026-07-05 08:12:20 +08:00
parent f496300829
commit a0ccf3805b
9 changed files with 67 additions and 5 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ from __future__ import annotations
import sys
from _lib import build_env, ensure_pnpm, load_config, run, write_env
from _lib import build_full_stack_env, ensure_pnpm, load_config, run, write_env
COMPOSE = "docker compose --env-file .env -f docker/docker-compose.full.yml"
@@ -21,7 +21,7 @@ COMPOSE = "docker compose --env-file .env -f docker/docker-compose.full.yml"
def main() -> None:
args = sys.argv[1:]
cfg = load_config()
write_env(build_env(cfg))
write_env(build_full_stack_env(cfg))
if "--down" in args:
run(f"{COMPOSE} down")