Skip to content

Commit

Permalink
changing database back to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
aw1996ecolytiq committed Feb 3, 2022
1 parent bcd370e commit 27778da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ spring.jpa.hibernate.ddl-auto=update
#spring.jpa.hibernate.ddl-auto=create

###### use if you want to run the application with docker
#spring.datasource.url=jdbc:mysql://database:3306/bootdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false
spring.datasource.url=jdbc:mysql://database:3306/bootdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false
###### use if you want to run the application locally
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/bootdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/bootdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false

spring.datasource.username=root
spring.datasource.password=secret
Expand Down

0 comments on commit 27778da

Please sign in to comment.