Browse Source

Merge branch 'dev' of http://192.168.1.220:10080/caimingsong/ehr.config into dev

Sand Wen 9 years ago
parent
commit
b309a364d8
3 changed files with 70 additions and 4 deletions
  1. 58 0
      ag-admin.yml
  2. 11 0
      svr-adaption.yml
  3. 1 4
      svr-org.yml

+ 58 - 0
ag-admin.yml

@ -0,0 +1,58 @@
data-source:
  driver-class-name: com.mysql.jdbc.Driver
  initialize-size: 1
  max-total: 20
  max-idle: 10
  min-idle: 1
  validation-query: SELECT 1
  test-on-borrow: true
  remove-abandoned-timeout: 55
hibernate:
  dialect: org.hibernate.dialect.MySQL5Dialect
---
spring:
  profiles: dev
data-source:
  url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  user-name: ha
  password: ha
hibernate:
  show-sql: true
  format-sql: true
---
spring:
  profiles: test
data-source:
  url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  username: fujian
  password: fujian
hibernate:
  hibernate-properties:
    hibernate:
      show-sql: true
      format-sql: true
---
spring:
  profiles: prod
data-source:
  url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
  username: ha
  password: jkzlxm
hibernate:
  hibernate-properties:
    hibernate:
      show-sql: false
      format-sql: false

+ 11 - 0
svr-adaption.yml

@ -0,0 +1,11 @@
---
spring:
  profiles: dev
---
spring:
  profiles: test
---
spring:
  profiles: prod

+ 1 - 4
svr-org.yml

@ -1,7 +1,4 @@
#用户默认密码
user:
  default-password: 123456

data-source:
  driver-class-name: com.mysql.jdbc.Driver
  initialize-size: 1