Skip to content

Commit

Permalink
Merge pull request #136 from Nohit-Java17/develop
Browse files Browse the repository at this point in the history
change db
  • Loading branch information
Tynab committed Jul 3, 2023
2 parents 61d8a1a + 74f6e72 commit 4a26795
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ WORKDIR /app

COPY .mvn/ .mvn
COPY mvnw pom.xml ./

RUN chmod +x mvnw

RUN ./mvnw dependency:go-offline

COPY src ./src
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
server.port=${PORT:8080}

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://us-cdbr-east-06.cleardb.net:3306/heroku_c4cb4f897902f11
spring.datasource.username=b609d40e8f32c8
spring.datasource.password=fe698ac4
spring.datasource.url=jdbc:mysql://mysql:3306/ecommerce
spring.datasource.username=root
spring.datasource.password=admin123

spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=update
Expand Down

0 comments on commit 4a26795

Please sign in to comment.