-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #630 from nitram509/add-db-spring-profiles
add spring profiles mysql, and postgres for convenience and manual testing
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# for convenience and manual testing purpose | ||
|
||
spring: | ||
datasource: | ||
url: jdbc:mysql://localhost:3306/zeebe_simple_monitor | ||
username: root | ||
password: secret | ||
driverClassName: com.mysql.cj.jdbc.Driver | ||
|
||
jpa: | ||
database-platform: org.hibernate.dialect.MySQLDialect | ||
hibernate: | ||
naming: | ||
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl | ||
|
||
server: | ||
port: 18082 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# for convenience and manual testing purpose | ||
|
||
spring: | ||
datasource: | ||
url: jdbc:postgresql://localhost:5432/postgres | ||
username: postgres | ||
password: mysecretpassword | ||
driverClassName: org.postgresql.Driver | ||
|
||
jpa: | ||
database-platform: org.hibernate.dialect.PostgreSQLDialect | ||
|
||
server: | ||
port: 18082 |