From c321acc66ba7a75cea360b4b22908882eeb1fbe8 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 4 Dec 2024 11:08:08 +0000 Subject: [PATCH] update env --- env.sh | 0 .env => env_model | 0 run.sh | 9 +++++++-- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100755 env.sh rename .env => env_model (100%) diff --git a/env.sh b/env.sh new file mode 100755 index 0000000..e69de29 diff --git a/.env b/env_model similarity index 100% rename from .env rename to env_model diff --git a/run.sh b/run.sh index 1d4ba8d..6aec9e7 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1,10 @@ ip_addr=`wget -qO- ipinfo.io/ip` -IP_ADDR="$ip_addr" docker compose up -d --build +NAME=`hostnamectl` +IP="$ip_addr" +PORT=40900 -docker logs -f sing \ No newline at end of file + +docker compose up -d --build + +docker logs -f sing