From 8bc52da548245d7b767a261b42e618b77c4ff5c5 Mon Sep 17 00:00:00 2001 From: Doubleyin <953994191@qq.com> Date: Tue, 14 Oct 2025 21:57:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=AF=E5=8F=A3=E6=98=A0?= =?UTF-8?q?=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 - deploy.yml | 3 +-- pom.xml | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e67e500..93a609b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,6 @@ WORKDIR /app COPY target/light-delivery-1.0.0.jar app.jar # 暴露端口 -EXPOSE 8080 EXPOSE 8443 # 启动应用 diff --git a/deploy.yml b/deploy.yml index ec14839..07dc73a 100644 --- a/deploy.yml +++ b/deploy.yml @@ -6,8 +6,7 @@ services: image: light-delivery-app:latest container_name: light-delivery-container ports: - - "8080:8080" - - "8443:443" # 修改这行,将宿主机8443端口映射到容器443端口 + - "8443:443" # 将宿主机8443端口映射到容器443端口 environment: - SPRING_DATASOURCE_PASSWORD=Hu@ng1998! - KEY_STORE_PASSWORD=k7cP6QLgJDkX diff --git a/pom.xml b/pom.xml index 84fbf34..f935b65 100644 --- a/pom.xml +++ b/pom.xml @@ -198,7 +198,6 @@ - 8080 8443