| | |
| | | application: |
| | | name: dispatch-server |
| | | profiles: |
| | | active: dev |
| | | active: prod |
| | | mvc: |
| | | static-path-pattern: /static/** |
| | | view: |
| | |
| | | eureka: |
| | | client: |
| | | service-url: #注册中心地址 |
| | | defaultZone: http://sinata:sinata@127.0.0.1:8081/eureka #启用身份验证的方式连接 |
| | | defaultZone: http://sinata:sinata@39.108.171.31:8081//eureka #启用身份验证的方式连接 |
| | | register-with-eureka: true #在注册中心进行注册 |
| | | fetch-registry: true #从Eureka中获取注册信息。 |
| | | |
| | |
| | | spring: |
| | | profiles: dev |
| | | datasource: |
| | | url: jdbc:mysql://127.0.0.1:3306/kuanzhaiyx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai |
| | | url: jdbc:mysql://39.108.171.31:10011/kuanzhaiyx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: 123456 |
| | | password: kuanzhaiyx |
| | | db-name: kuanzhaiyx #用来搜集数据库的所有表 |
| | | filters: wall,mergeStat |
| | | #多数据源情况的配置 |
| | |
| | | spring: |
| | | profiles: prod |
| | | datasource: |
| | | url: jdbc:mysql://122.9.140.208:10010/kuanzhaiyx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai |
| | | url: jdbc:mysql://39.108.171.31:10011/kuanzhaiyx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: 123456 |
| | | password: kuanzhaiyx |
| | | db-name: 123456 #用来搜集数据库的所有表 |
| | | filters: wall,mergeStat |
| | | #多数据源情况的配置 |