From 08cb8a4b537749bd199f583319b4ac0fc0635c46 Mon Sep 17 00:00:00 2001 From: qaq <1937228092@qq.com> Date: Tue, 17 Jun 2025 14:26:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ README.md | 8 ++++++++ docker-compose.yml | 2 +- panel_install.sh | 16 +++++++++++----- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 35324cd..73014b6 100644 --- a/.gitignore +++ b/.gitignore @@ -234,6 +234,9 @@ go-gost/gost.json *.temp .cache/ + +gitee/ + # ========================================== # 其他 # ========================================== diff --git a/README.md b/README.md index 5a9afc3..8de3511 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,15 @@ #### 快速部署 ```bash +github curl -fsSL https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh + +gitee +curl -fsSL https://gitee.com/bqlpfy/forward-panel/raw/master/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh + +节点端安装时可以手动将install.sh换成下方的连接 +https://gitee.com/bqlpfy/forward-panel/raw/master/install.sh + ``` diff --git a/docker-compose.yml b/docker-compose.yml index ed98f03..2e0de6a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -63,7 +63,7 @@ services: container_name: vue-frontend restart: unless-stopped ports: - - "80:80" + - "${FRONTEND_PORT}:80" depends_on: backend: condition: service_healthy diff --git a/panel_install.sh b/panel_install.sh index c76184c..e661b19 100755 --- a/panel_install.sh +++ b/panel_install.sh @@ -54,22 +54,28 @@ while true; do fi done +read -p "前端服务端口 FRONTEND_PORT(留空默认 80: " FRONTEND_PORT +FRONTEND_PORT=${FRONTEND_PORT:-80} + cat > .env <