Add default db base url
parent
0d028147e9
commit
75a784ba6e
|
@ -6,6 +6,7 @@ events.name=events
|
|||
teams.name=teams
|
||||
|
||||
# DB Properties
|
||||
defaultDbBaseUrl = jdbc:mysql://localhost:3306
|
||||
spring.datasource.username = root
|
||||
spring.datasource.password = root
|
||||
spring.jpa.generate-ddl=true
|
|
@ -1,3 +1,3 @@
|
|||
spring.application.name=events
|
||||
server.port=9020
|
||||
spring.datasource.url = jdbc:mysql://localhost:3306/events
|
||||
spring.datasource.url = ${defaultDbBaseUrl}/events
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
spring.application.name=teams
|
||||
server.port=9010
|
||||
spring.datasource.url = jdbc:mysql://localhost:3306/teams
|
||||
spring.datasource.url = ${defaultDbBaseUrl}/teams
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
spring.application.name=users
|
||||
server.port=8090
|
||||
spring.datasource.url = jdbc:mysql://localhost:3306/users
|
||||
spring.datasource.url = ${defaultDbBaseUrl}/users
|
||||
|
|
Loading…
Reference in New Issue