浏览代码

Merge branch 'dev' of lyr/ehr.config into dev

sand 8 年之前
父节点
当前提交
2747b4c469
共有 2 个文件被更改,包括 64 次插入1 次删除
  1. 2 1
      application.yml
  2. 62 0
      svr-archive-security.yml

+ 2 - 1
application.yml

@ -81,6 +81,7 @@ svr-family.server.port: 10190
svr-health-profile-search.server.port: 10200
svr-workflow.server.port: 10210
svr-resource.server.port: 10220
svr-archive-security.server.port: 10230
#Application acuator
endpoints:
@ -135,7 +136,7 @@ eureka:
  instance:
    prefer-ip-address: false
eureka-server-ip: localhost:8761
eureka-server-ip: 192.168.1.221:8761
---
spring:

+ 62 - 0
svr-archive-security.yml

@ -0,0 +1,62 @@
logging:
  level:
    com:
      netflix: DEBUG
spring:
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 20
    max-idle: 8
    min-idle: 8
    validation-query: SELECT 1
    test-on-borrow: true
---
spring:
  profiles: dev
  datasource:
    url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: ha
  redis:
    host: 192.168.1.220 # Redis server host.
---
spring:
  profiles: alpha
  datasource:
    url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: ha
  redis:
    host: 192.168.1.220 # Redis server host.
---
spring:
  profiles: test
  datasource:
    url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: weifuwu
    password: weifuwu
  redis:
    host: 172.19.103.47 # Redis server host.
---
spring:
  profiles: prod
  datasource:
    url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: jkzlxm
  redis:
    host: 11.1.2.20 # Redis server host.