Add default db base url

master
esensar 2017-04-16 17:47:21 +02:00
parent 0d028147e9
commit 75a784ba6e
4 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -1,3 +1,3 @@
spring.application.name=events
server.port=9020
spring.datasource.url = jdbc:mysql://localhost:3306/events
spring.datasource.url = ${defaultDbBaseUrl}/events

View File

@ -1,3 +1,3 @@
spring.application.name=teams
server.port=9010
spring.datasource.url = jdbc:mysql://localhost:3306/teams
spring.datasource.url = ${defaultDbBaseUrl}/teams

View File

@ -1,3 +1,3 @@
spring.application.name=users
server.port=8090
spring.datasource.url = jdbc:mysql://localhost:3306/users
spring.datasource.url = ${defaultDbBaseUrl}/users