application.yml 824 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
spring:
datasource:
url: jdbc:mysql://119.90.57.26:3306/platform
username: platform
password: platform123
driver-class-name: com.mysql.jdbc.Driver
# 必须配置为字符类型 @see com.alibaba.druid.pool.DruidDataSourceFactory > value = (String)properties.get("init");
init: "true"

default:
url: jdbc:mysql://119.90.57.26:3306/platform
username: platform
password: platform123
driver-class-name: com.mysql.jdbc.Driver
# 必须配置为字符类型 @see com.alibaba.druid.pool.DruidDataSourceFactory > value = (String)properties.get("init");
init: "true"

customs:
- ds1
- ds2

data:
mongodb:
host: 119.90.57.26
port: 10001
database: platform
username: platform
password: platform123
server:
port: 8888