From 403d70171c4291ced140e31d3377e98775d9cc69 Mon Sep 17 00:00:00 2001 From: hiparker Date: Wed, 12 May 2021 21:20:49 +0800 Subject: [PATCH] =?UTF-8?q?Docker=E9=83=A8=E7=BD=B2=20=E7=AB=AF=E5=8F=A3?= =?UTF-8?q?=E5=8F=B7=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- docker-compose-server.yml | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b946067..fe01b1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,4 +27,4 @@ ENTRYPOINT ["java", "-Dfile.encoding=utf-8", "-Djava.security.egd=file:/dev/./ur CMD ["-Xmx2048m", "-Xms2048m", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=200", "--spring.profiles.active=dev"] # 暴露端口 -EXPOSE 8080 \ No newline at end of file +EXPOSE 7000 \ No newline at end of file diff --git a/docker-compose-server.yml b/docker-compose-server.yml index 28841f1..b7b1175 100644 --- a/docker-compose-server.yml +++ b/docker-compose-server.yml @@ -54,4 +54,4 @@ services: - -XX:MaxGCPauseMillis=200 - --spring.profiles.active=beta ports: - - "8080:8080" \ No newline at end of file + - "7000:7000" \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 7b542e2..582b8aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,4 +15,4 @@ services: - -XX:MaxGCPauseMillis=200 - --spring.profiles.active=beta ports: - - "8080:8080" \ No newline at end of file + - "7000:7000" \ No newline at end of file