Docker部署 端口号调整

v1.4.1
hiparker 4 years ago
parent a0701e3629
commit 403d70171c

@ -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"] CMD ["-Xmx2048m", "-Xms2048m", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=200", "--spring.profiles.active=dev"]
# 暴露端口 # 暴露端口
EXPOSE 8080 EXPOSE 7000

@ -54,4 +54,4 @@ services:
- -XX:MaxGCPauseMillis=200 - -XX:MaxGCPauseMillis=200
- --spring.profiles.active=beta - --spring.profiles.active=beta
ports: ports:
- "8080:8080" - "7000:7000"

@ -15,4 +15,4 @@ services:
- -XX:MaxGCPauseMillis=200 - -XX:MaxGCPauseMillis=200
- --spring.profiles.active=beta - --spring.profiles.active=beta
ports: ports:
- "8080:8080" - "7000:7000"
Loading…
Cancel
Save