123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- info:
- app:
- name: SVR-PACK-MGR
- description: EHR Platform Microservice.
- version: 1.0.0
- spring:
- http:
- multipart:
- maxRequestSize: 1024MB #配置最大上传为1G
- maxFileSize: 1024MB #配置最大上传为1G
- # REDIS
- redis:
- database: 0 # Database index used by the connection factory.
- timeout: 0 # Connection timeout in milliseconds.
- #sentinel:
- # master: # Name of Redis server.
- # nodes: # Comma-separated list of host:port pairs.
- pool:
- max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
- max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
- max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
- min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
- 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
- fast-dfs:
- connect-timeout: 20
- network-timeout: 60
- charset: ISO8859-1
- pool:
- init-size: 15
- max-size: 30
- wait-time: 500
- http:
- tracker-http-port: 80
- anti-steal-token: no
- secret-key: FastDFS1234567890
- elasticsearch:
- pool:
- init-size: 10
- max-size: 30
- eip:
- tenant: jkzl
- ---
- spring:
- profiles: dev
- datasource:
- url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
- username: chenweishan
- password: chenweishan
- redis:
- host: 172.19.103.47
- port: 6379
- password: redis!@456
- fast-dfs:
- tracker-server: 172.19.103.13:22122
- public-server: http://172.19.103.52:80
- elasticsearch:
- cluster-name: elasticsearch
- cluster-nodes: 172.19.103.9:9300
- ---
- spring:
- profiles: prod
- datasource:
- url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
- username: chenweishan
- password: chenweishan
- redis:
- host: 172.19.103.47
- port: 6379
- password: redis!@456
- fast-dfs:
- tracker-server: 172.19.103.13:22122
- public-server: http://172.19.103.52:80
- elasticsearch:
- cluster-name: elasticsearch
- cluster-nodes: 172.19.103.9:9300
|