mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-01-22 23:29:45 +08:00
Merge branch 'master' of https://gitee.com/doc_wei01/erp-pro
This commit is contained in:
commit
609424d24a
1 changed files with 40 additions and 0 deletions
40
docs/配置中心参数.md
Normal file
40
docs/配置中心参数.md
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
```
|
||||||
|
server.port = 8086
|
||||||
|
IMAGES_PATH = D:/other-pro/erp-kaiyuan/images/
|
||||||
|
java.request.url.mappimg = mapping/base.xml,mapping/erp.xml,mapping/erp-wei.xml
|
||||||
|
jdbc.database.driverClassName = com.mysql.jdbc.Driver
|
||||||
|
jdbc.database.path = localhost:3306
|
||||||
|
jdbc.database.name = erp
|
||||||
|
jdbc.database.username = root
|
||||||
|
jdbc.database.password = 123456
|
||||||
|
jdbc.maxActive = 10
|
||||||
|
jdbc.initialSize = 1
|
||||||
|
jdbc.minIdle = 5
|
||||||
|
jdbc.poolPreparedStatements = true
|
||||||
|
jdbc.maxWait = 60000
|
||||||
|
jdbc.maxPoolPreparedStatementPerConnectionSize = 33
|
||||||
|
spring.resources.static-locations = classpath:/template/
|
||||||
|
spring.servlet.multipart.max-file-size = 10Mb
|
||||||
|
spring.http.multipart.max-request-size = 100Mb
|
||||||
|
redis.ip1 = 192.168.1.140
|
||||||
|
redis.host1 = 9000
|
||||||
|
redis.ip2 = 192.168.1.140
|
||||||
|
redis.host2 = 9001
|
||||||
|
redis.ip3 = 192.168.1.140
|
||||||
|
redis.host3 = 9002
|
||||||
|
redis.ip4 = 192.168.1.140
|
||||||
|
redis.host4 = 9003
|
||||||
|
redis.ip5 = 192.168.1.140
|
||||||
|
redis.host5 = 9004
|
||||||
|
redis.ip6 = 192.168.1.140
|
||||||
|
redis.host6 = 9005
|
||||||
|
redis.commandTimeout = 1000
|
||||||
|
management.endpoints.web.exposure.include = *
|
||||||
|
management.health.redis.enabled = false
|
||||||
|
management.health.solr.enabled = false
|
||||||
|
management.endpoints.health.sensitive = false
|
||||||
|
management.endpoint.health.show-details = ALWAYS
|
||||||
|
spring.boot.admin.client.url = http://127.0.0.1:8000
|
||||||
|
spring.boot.admin.client.instance.service-base-url = http://localhost:8086
|
||||||
|
spring.boot.admin.client.instance.name = erp
|
||||||
|
```
|
Loading…
Reference in a new issue