diff --git a/.github/workflows/deploy_via_ecr.yml b/.github/workflows/deploy_via_ecr.yml index c686f62..2a33adf 100644 --- a/.github/workflows/deploy_via_ecr.yml +++ b/.github/workflows/deploy_via_ecr.yml @@ -136,5 +136,5 @@ jobs: docker system prune -af docker stop hikaricp docker rm hikaricp - docker run -d --rm --name hikaricp -p 9000:9000 $ECR_REGISTRY/$CONTAINER_NAME:$IMAGE_TAG + docker run -d --rm --name hikaricp -p 9001:9001 $ECR_REGISTRY/$CONTAINER_NAME:$IMAGE_TAG diff --git a/Dockerfile b/Dockerfile index 5a6758e..ef5f3d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,5 +35,5 @@ COPY --from=build /project/target/HikariCP-0.0.1.jar /app/HikariCP.jar WORKDIR /app RUN chown -R hendi:hendigroup /app -EXPOSE 9000 +EXPOSE 9001 CMD java $JAVA_OPTS -jar HikariCP.jar diff --git a/src/main/resources/application-docker.properties b/src/main/resources/application-docker.properties index c792df8..5a1c4c6 100644 --- a/src/main/resources/application-docker.properties +++ b/src/main/resources/application-docker.properties @@ -25,7 +25,7 @@ spring.jpa.properties.hibernate.format_sql=true spring.thymeleaf.cache=false spring.thymeleaf.mode=HTML #spring.jackson.serialization.indent_output=true -server.port=9000 +server.port=9001 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.hikari.connection-timeout=50000 spring.datasource.hikari.idle-timeout=300000 diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index badb5de..7cf157a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -29,7 +29,7 @@ spring.thymeleaf.cache=false spring.thymeleaf.mode=HTML #spring.jackson.serialization.indent_output=true -server.port=9000 +server.port=9001 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.hikari.connection-timeout=50000 spring.datasource.hikari.idle-timeout=300000