Browse Source

为福州配置

majian 6 years ago
parent
commit
91599c5220
3 changed files with 8 additions and 7 deletions
  1. 3 1
      .gitignore
  2. 3 3
      src/main/resources/application.yml
  3. 2 3
      src/main/resources/bootstrap.yml

+ 3 - 1
.gitignore

@ -22,4 +22,6 @@
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
/.nb-gradle/
logs/

+ 3 - 3
src/main/resources/application.yml

@ -20,6 +20,6 @@ spring:
spring:
  profiles: dev
  datasource:
    url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: chenweishan
    password: chenweishan
    url: jdbc:mysql://172.18.20.105:3312/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
    username: cloud
    password: o8t$P39ekYSZ

+ 2 - 3
src/main/resources/bootstrap.yml

@ -3,7 +3,6 @@ spring:
    name: svr-inspection
  cloud:
    config:
      username: user
      password: configuration
---
@ -11,8 +10,8 @@ spring:
  profiles: dev
  cloud:
    config:
      uri: ${spring.config.uri:http://172.19.103.73:1221}
      label: ${spring.config.label:dev}
      uri: ${spring.config.uri:http://11.1.2.31:1221}
      label: ${spring.config.label:fuzhou}
---
spring: