Skip to content

Commit

Permalink
#156 - Setup CI/CD 1️⃣5️⃣ 🫸🌀✏️📗 :octocat:🐧🐳
Browse files Browse the repository at this point in the history
  • Loading branch information
hendisantika committed Mar 13, 2024
1 parent d7456e2 commit 38fd542
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_via_ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/main/resources/application-docker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38fd542

Please sign in to comment.