Update
This commit is contained in:
@@ -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
12
deploy/.env
Normal 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
|
Reference in New Issue
Block a user