This commit is contained in:
vipg
2025-10-09 10:54:28 +08:00
parent a6c4bd1dc9
commit 002bd2c37d
9 changed files with 12 additions and 7 deletions

View File

@@ -173,13 +173,6 @@ def main():
)
print(f"已生成合并后的 docker-compose.yaml: {output_path}")
# 3. 启动docker-compose
stop_docker_compose(root_dir)
if not start_docker_compose(root_dir):
print("启动docker-compose失败")
return
print("部署流程完成")
print("\n===== 清理虚悬镜像 =====")
if not cleanup_dangling_images():
print("清除虚悬镜像失败(非致命错误,继续部署流程)")

12
deploy/.env Normal file
View File

@@ -0,0 +1,12 @@
# 数据库配置
DB_USER=postgres
DB_PASSWORD=postgres12341234
DB_NAME=postgres
DB_PORT=5432
# 时区配置
TZ=Asia/Shanghai
# pgAdmin配置
PGADMIN_EMAIL=fish@fish.com
PGADMIN_PASSWORD=12345678