emis-backend/config/app.properties

125 lines
4.1 KiB
Properties
Raw Normal View History

2023-11-27 05:07:35 +00:00
#extend config
spring.application.name=bizsvr
server.port=11089
#instance.ip=127.0.0.1
# 配置中心url
server.servlet.context-path=/api/bizsvr
#server.servlet.context-path=/
server.tomcat.uri-encoding=UTF-8
server.tomcat.accept-count=1000
server.tomcat.threads.max=800
server.tomcat.threads.min-spare=100
2024-07-28 06:42:24 +00:00
#undertow
server.undertow.direct-buffers=true
server.undertow.threads.io=8
server.undertow.threads.worker=258
2023-11-27 05:07:35 +00:00
#DataSource
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
2024-05-09 21:31:45 +00:00
spring.datasource.url=jdbc:mysql://192.168.88.23:31306/tnemis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
2024-08-04 00:32:55 +00:00
spring.datasource.username=tnuat
spring.datasource.password=Tnuat123#@!
2024-05-09 15:16:00 +00:00
2024-05-09 21:31:45 +00:00
#spring.datasource.url=jdbc:mysql://192.168.88.58:3307/tnemis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#spring.datasource.username=xdadan
#spring.datasource.password=xdadan123#@!
##spring.datasource.password=XDDENC#ukKw8FenW3YMeSQPlar5Y+PGpb+VgonP
2023-11-27 05:07:35 +00:00
spring.datasource.druid.initialSize=5
spring.datasource.druid.minIdle=10
spring.datasource.druid.maxActive=20
spring.datasource.druid.maxWait=60000
spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
spring.datasource.druid.minEvictableIdleTimeMillis=300000
spring.datasource.druid.maxEvictableIdleTimeMillis=900000
spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
spring.datasource.druid.testWhileIdle=true
spring.datasource.druid.testOnBorrow=false
spring.datasource.druid.testOnReturn=false
spring.datasource.druid.webStatFilter.enabled=true
spring.datasource.druid.statViewServlet.enabled=true
spring.datasource.druid.statViewServlet.allow.url-pattern=/druid/*
spring.datasource.druid.statViewServlet.allow.login-username=xdadan
spring.datasource.druid.statViewServlet.allow.login-password=123456
spring.datasource.druid.filter.stat.enabled=true
spring.datasource.druid.filter.stat.log-slow-sql=true
spring.datasource.druid.filter.stat.slow-sql-millis=1000
spring.datasource.druid.filter.stat.merge-sql=true
spring.datasource.druid.filter.wall.config.multi-statement-allow=true
spring.datasource.max-wait=30000
spring.datasource.max-active=200
spring.datasource.initial-size=20
spring.datasource.max-idle=20
spring.datasource.min-idle=10
spring.datasource.test-on-borrow=true
spring.datasource.test-while-idle=true
spring.datasource.validationQuery=select 1 from dual
spring.datasource.connection-test-query=select 1 from dual
2024-06-02 01:51:55 +00:00
2023-11-27 05:07:35 +00:00
#redis
spring.redis.database=0
spring.redis.host=192.168.88.32
#spring.redis.cluster.nodes=192.168.88.32
spring.redis.port=6379
spring.redis.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
spring.redis.pool.max-active=8
spring.redis.pool.max-wait=-1
spring.redis.pool.max-idle=8
spring.redis.pool.min-idle=0
spring.redis.timeout=10s
spring.redis.lettuce.pool.min-idle=0
spring.redis.lettuce.pool.max-idle=8
spring.redis.lettuce.pool.max-active=8
spring.redis.lettuce.pool.max-wait=-1ms
redisson.address=redis://192.168.88.32:6379
redisson.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
redisson.timeout=3000
redisson.database=0
redisson.connectionPoolSize=10
redisson.connectionMinimumIdleSize=10
#rabbitmq
spring.rabbitmq.host=192.168.88.32
spring.rabbitmq.port=5672
spring.rabbitmq.username=ccloud
spring.rabbitmq.password=123#@!
spring.rabbitmq.virtual-host=/pushcus
#DXP001_SEND
#MVC
spring.mvc.static-path-pattern=/**
#spring.resources.static-locations = classpath:/templates/,classpath:/resources/,classpath:/static/,classpath:/html/
spring.resources.static-locations=classpath:/static/,classpath:/html/
spring.mvc.view.prefix=/WEB-INF/views/
spring.mvc.view.suffix=.jsp
spring.http.multipart.maxFileSize=10000Mb
spring.http.multipart.maxRequestSize=10000Mb
pay.temp.dir=tmp
pay.profile=.
xdd.enc.key=
#X20230103080
pay.api-online-url=http://api.pay.xdadan.com/api/gateway/router/online
pay.app-id=26150000179
pay.app-secret=91be0b54ba41f71f8e0506a7da95a8ff
2024-07-28 06:42:24 +00:00
erp.api.base-url=http://api.erp2.xdadan.com/api/microsvr
2023-11-27 05:07:35 +00:00
erp.api.pay.notify-url=http://api.erp2.xdadan.com/api/microsvr/common/payNotifyCallback
2024-07-28 06:42:24 +00:00
2024-07-28 10:25:52 +00:00
system.fontPath=/usr/share/fonts