Change backend port from 80 to 5000 everywhere
This commit is contained in:
parent
4da43de4f6
commit
5afa5daece
@ -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"]
|
||||||
|
@ -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
|
||||||
|
@ -15,7 +15,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
ports:
|
ports:
|
||||||
- "5000:80"
|
- "5000:5000"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user