Files
orion-visor/orion-visor-launch/src/main/resources/application-prod.yaml

57 lines
1.3 KiB
YAML
Raw Normal View History

spring:
datasource:
druid:
2024-05-16 00:03:30 +08:00
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DATABASE:orion_visor}?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai&autoReconnect=true
2024-02-25 00:18:08 +08:00
username: ${MYSQL_USER:root}
password: ${MYSQL_PASSWORD:Data@123456}
# 初始连接数
initial-size: 5
# 最小连接池数量
min-idle: 5
# 最大连接池数量
max-active: 20
web-stat-filter:
enabled: true
stat-view-servlet:
enabled: true
filter:
stat:
enabled: true
redis:
2024-02-25 00:18:08 +08:00
host: ${REDIS_HOST:127.0.0.1}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:Data@123456}
2024-03-27 15:30:03 +08:00
redisson:
threads: 4
netty-threads: 4
2024-03-29 11:12:34 +08:00
quartz:
properties:
org:
quartz:
threadPool:
threadCount: 10
springdoc:
api-docs:
enabled: false
swagger-ui:
enabled: false
knife4j:
enable: false
2023-06-29 15:53:38 +08:00
2023-07-08 02:11:30 +08:00
orion:
2023-07-11 11:00:46 +08:00
logging:
printer:
mode: ROW
2023-07-08 02:11:30 +08:00
crypto:
aes:
2024-05-17 12:26:01 +08:00
# 加密密钥
2024-02-25 00:18:08 +08:00
secret-key: ${SECRET_KEY:uQeacXV8b3isvKLK}
2023-10-09 16:25:19 +08:00
async:
executor:
2023-07-11 11:00:46 +08:00
core-pool-size: 8
max-pool-size: 16
queue-capacity: 200
keep-alive-seconds: 300