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 <