Skip to content

Commit

Permalink
💚 fix: application-db.properties 복구 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
synoti21 committed Oct 4, 2023
1 parent bd5c2b9 commit 2d48455
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ out/
/.nb-gradle/

### VS Code ###
.vscode/
application-db.properties
.vscode/
11 changes: 11 additions & 0 deletions src/main/resources/application-db.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.hibernate.ddl-auto=create

# Remote DB
spring.datasource.url=${DB_ENDPOINT}
spring.datasource.username=${DB_USERNAME}
spring.datasource.password=${DB_PASSWORD}

spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
spring.jpa.properties.hibernate.format_sql=true

0 comments on commit 2d48455

Please sign in to comment.