add cloud, k8s props

This commit is contained in:
Tim Robinson 2019-05-05 19:57:09 -07:00
parent d2831f9bad
commit aa81e837e5
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# database init, supports mysql too
database=mysql
spring.datasource.url=${vcap.services.compose-mysql.credentials.jdbcurl}
spring.datasource.username=${vcap.services.compose-mysql.credentials.username}
spring.datasource.password=${vcap.services.compose-mysql.credentials.password}
# Uncomment this the first time the app runs
#spring.datasource.initialization-mode=always

View file

@ -0,0 +1,8 @@
# database init, supports mysql too
database=mysql
spring.datasource.url=${mysql.credentials.jdbcurl}
spring.datasource.username=${mysql.credentials.username}
spring.datasource.password=${mysql.credentials.password}
# Uncomment this the first time the app runs
#spring.datasource.initialization-mode=always