From 8e4599c5cbd4a774640b3a29b52b6fcc74f7a383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=9F=E4=BA=8C=E8=BF=9C?= Date: Tue, 7 Apr 2026 19:17:47 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E8=B0=83=E6=95=B4=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E8=AE=BE=E7=BD=AE8080=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/Dockerfile | 4 ++-- web/nginx.conf.template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/Dockerfile b/web/Dockerfile index 2b059a05..86e001dc 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -18,6 +18,6 @@ COPY nginx.conf.template /etc/nginx/templates/default.conf.template COPY runtime-config.js.template /usr/share/nginx/html/runtime-config.js.template COPY docker-entrypoint.d/30-runtime-config.sh /docker-entrypoint.d/30-runtime-config.sh RUN chmod +x /docker-entrypoint.d/30-runtime-config.sh -EXPOSE 80 +EXPOSE 8080 HEALTHCHECK --interval=10s --timeout=3s \ - CMD wget -qO- http://127.0.0.1/nginx-health || exit 1 + CMD wget -qO- http://127.0.0.1:8080/nginx-health || exit 1 diff --git a/web/nginx.conf.template b/web/nginx.conf.template index fe0300b6..90ca5ea5 100644 --- a/web/nginx.conf.template +++ b/web/nginx.conf.template @@ -1,5 +1,5 @@ server { - listen 80; + listen 8080; server_name _; root /usr/share/nginx/html; index index.html;