Change backend port from 80 to 5000 everywhere

This commit is contained in:
Marcel Schwarz 2020-05-09 17:57:33 +02:00
parent 4da43de4f6
commit 5afa5daece
3 changed files with 3 additions and 3 deletions

View File

@ -6,5 +6,5 @@ RUN ["gradle", "bootJar"]
FROM openjdk:11-jre-slim FROM openjdk:11-jre-slim
WORKDIR /root WORKDIR /root
COPY --from=build /root/build/libs/*.jar app.jar COPY --from=build /root/build/libs/*.jar app.jar
EXPOSE 80 EXPOSE 5000
ENTRYPOINT ["java", "-jar", "app.jar"] ENTRYPOINT ["java", "-jar", "app.jar"]

View File

@ -1,4 +1,4 @@
server.port=80 server.port=5000
spring.datasource.hikari.initialization-fail-timeout=0 spring.datasource.hikari.initialization-fail-timeout=0
spring.datasource.hikari.max-lifetime=300000 spring.datasource.hikari.max-lifetime=300000
spring.jpa.show-sql=true spring.jpa.show-sql=true

View File

@ -15,7 +15,7 @@ services:
build: build:
context: ./backend context: ./backend
ports: ports:
- "5000:80" - "5000:5000"
depends_on: depends_on:
- db - db