From f6faa44bc9b54d6ff601eb873d2bcf25d75537eb Mon Sep 17 00:00:00 2001 From: Tesla Date: Wed, 19 Feb 2025 16:47:28 +0330 Subject: [PATCH 1/4] Improve docker --- common/docker-installer.sh | 1 + docker-init.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/docker-installer.sh b/common/docker-installer.sh index 14983b0ec..e7a515bdc 100644 --- a/common/docker-installer.sh +++ b/common/docker-installer.sh @@ -32,6 +32,7 @@ sed -i "s/REDIS_STRONG_PASS/$redispassword/g" app.cfg sed -i "s/MYSQL_STRONG_PASS/$mysqlpassword/g" app.cfg # Start the containers using Docker Compose +docker compose pull docker compose up -d # Follow the logs from the containers diff --git a/docker-init.sh b/docker-init.sh index 4d6458866..9dda084d3 100755 --- a/docker-init.sh +++ b/docker-init.sh @@ -4,8 +4,8 @@ mkdir /hiddify-data/ssl/ rm -rf /opt/hiddify-manager/log/*.lock cd $(dirname -- "$0") DO_NOT_INSTALL=true ./install.sh install-docker --no-gui $@ -./status.sh --no-gui ./apply_configs.sh --no-gui +./status.sh --no-gui echo Hiddify is started!!!! in 5 seconds you will see the system logs sleep 5 From e18f9cfaaf193c25b5d8df464a152519c692b4c3 Mon Sep 17 00:00:00 2001 From: Tesla Date: Wed, 19 Feb 2025 16:59:07 +0330 Subject: [PATCH 2/4] Update docker-init --- docker-init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-init.sh b/docker-init.sh index 9dda084d3..475c5629c 100755 --- a/docker-init.sh +++ b/docker-init.sh @@ -3,6 +3,7 @@ mkdir /hiddify-data/ssl/ rm -rf /opt/hiddify-manager/log/*.lock cd $(dirname -- "$0") +./install.sh install-docker --no-gui $@ DO_NOT_INSTALL=true ./install.sh install-docker --no-gui $@ ./apply_configs.sh --no-gui ./status.sh --no-gui From c8d9aa2391ec980266439f0b992261f157c6b975 Mon Sep 17 00:00:00 2001 From: Tesla Date: Wed, 19 Feb 2025 17:01:50 +0330 Subject: [PATCH 3/4] Update --- docker-init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-init.sh b/docker-init.sh index 475c5629c..1b35abc4e 100755 --- a/docker-init.sh +++ b/docker-init.sh @@ -4,6 +4,7 @@ mkdir /hiddify-data/ssl/ rm -rf /opt/hiddify-manager/log/*.lock cd $(dirname -- "$0") ./install.sh install-docker --no-gui $@ + DO_NOT_INSTALL=true ./install.sh install-docker --no-gui $@ ./apply_configs.sh --no-gui ./status.sh --no-gui From ece25f2a4d6a551ee00f8ba6ca2b432260145eff Mon Sep 17 00:00:00 2001 From: Tesla Date: Wed, 19 Feb 2025 17:09:47 +0330 Subject: [PATCH 4/4] restart services due needs --- docker-init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-init.sh b/docker-init.sh index 1b35abc4e..f2077f6bd 100755 --- a/docker-init.sh +++ b/docker-init.sh @@ -7,6 +7,7 @@ cd $(dirname -- "$0") DO_NOT_INSTALL=true ./install.sh install-docker --no-gui $@ ./apply_configs.sh --no-gui +./restart.sh --no-gui ./status.sh --no-gui echo Hiddify is started!!!! in 5 seconds you will see the system logs