server: port: 8208 jetty: max-http-post-size: 209715200 tomcat: max-http-post-size: 209715200 spring: datasource: #主数据源 primary: url: jdbc:mysql://127.0.0.1:3306/igds_api?useUnicode=true&characterEncoding=utf-8 username: root password: Abc123.. driver-class-name: com.mysql.jdbc.Driver #次数据源 secondary: url: jdbc:mysql://127.0.0.1:3306/igds_master?useUnicode=true&characterEncoding=utf-8 username: root password: Abc123.. driver-class-name: com.mysql.jdbc.Driver jpa: #主jpa配置 primary: show-sql: true properties: hibernate: hbm2ddl: auto: update dialect: org.hibernate.dialect.MySQL5InnoDBDialect #次jpa配置 secondary: show-sql: true properties: hibernate: hbm2ddl: auto: none dialect: org.hibernate.dialect.MySQL5InnoDBDialect # Redis相关配置 redis: database: 5 host: 127.0.0.1 port: 6379 password: # 连接池最大连接数(使用负值表示没有限制) pool: max-active: 200 max-wait: -1 max-idle: 10 min-idle: 0 timeout: 6000