修改docker compose 的检查方式, 放入到run函数中

This commit is contained in:
Olia Lisa
2026-06-10 14:13:12 +08:00
parent 9dfd39e67b
commit 2d09268c4d
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -164,7 +164,6 @@ main(){
1)
# 一键部署
install
check_docker_compose
create_config
port_manage allow $(get_listen_port "$CONFIG_FILE") # 开放端口
run
@@ -181,7 +180,6 @@ main(){
;;
4)
# 启动
check_docker_compose
check_config_file "$CONFIG_FILE"
port_manage allow $(get_listen_port "$CONFIG_FILE") # 开放端口
run