Files
smart_storage_java/business-service/src/main/resources/application-prod.yml

59 lines
1.4 KiB
YAML
Raw Normal View History

2025-06-30 16:48:50 +08:00
server:
port: 8011
servlet:
context-path: /api
#swagger2配置
swagger2:
enable: true #开启swagger
projectName: 云平台--business-前端接口
controllerPath: com.ho.business.controller
spring:
jackson:
time-zone: GMT+8
application:
name: business-service
cloud:
nacos:
discovery:
2025-07-11 17:16:10 +08:00
server-addr: 172.31.9.103:8848
2025-06-30 16:48:50 +08:00
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
2025-07-11 17:16:10 +08:00
url: jdbc:mysql://172.31.35.125:3306/business_db?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
username: business_db
2025-06-30 16:48:50 +08:00
password: zzkj@688737
druid:
initialSize: 5
minIdle: 5
maxActive: 5
keepAlive: true #保持长连接
connection-error-retry-attempts: 3
#Redis
redis:
port: 6379 #端口
timeout: 50000ms #连接超时
2025-07-11 17:16:10 +08:00
host: 172.31.35.125 #单机
2025-06-30 16:48:50 +08:00
password: zzkj@688737
database: 0
lettuce:
pool:
max-active: 8 #连接池最大连接 默认8
max-idle: 8 #连接池中最大空闲连接 默认8
min-idle: 1 #连接池中最小空闲连接 默认0
max-wait: 2000ms #连接池最大阻塞等待时间 使用负值表示没有限制
boot:
admin:
client:
url: http://localhost:8019/boot
minio:
accessKey: admin
secretKey: zzkj@688737
2025-07-11 17:16:10 +08:00
endpoint: http://172.31.35.125:9000
prefixUrl: http://172.31.35.125:9000
2025-06-30 16:48:50 +08:00
formula:
fieldmap:
RT_FIELD_BEAN: RT_FIELD_BEAN