Browse Source

standard.yml 修改

hh 9 years ago
parent
commit
937ebc3a81
1 changed files with 1 additions and 58 deletions
  1. 1 58
      svr-stdandard.yml

+ 1 - 58
svr-stdandard.yml

@ -1,68 +1,11 @@
standard-svr:
  schema-storage-path: "d:/"
  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
  fast-dfs:
    pool:
      init-size: 5
      max-size: 20
      wait-time: 500
    connect-timeout: 2
    network-timeout: 30
    fast-dfs:
      charset: ISO8859-1
    http:
      tracker-http-port: 80
      anti-steal-token: no
      secret-key: FastDFS1234567890
---
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
  profiles: prod