48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
spring:
|
|
datasource:
|
|
druid:
|
|
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
|
|
username: ${MYSQL_USER:root}
|
|
password: ${MYSQL_PASSWORD:Data@123456}
|
|
initial-size: 0
|
|
min-idle: 1
|
|
max-active: 5
|
|
stat-view-servlet:
|
|
enabled: false
|
|
redis:
|
|
host: ${REDIS_HOST:127.0.0.1}
|
|
port: ${REDIS_PORT:6379}
|
|
password: ${REDIS_PASSWORD:Data@123456}
|
|
database: ${REDIS_DATABASE:10}
|
|
data-version: ${REDIS_DATA_VERSION:1}
|
|
redisson:
|
|
threads: 2
|
|
netty-threads: 2
|
|
minimum-idle-size: 2
|
|
boot:
|
|
admin:
|
|
client:
|
|
enabled: false
|
|
server:
|
|
enabled: false
|
|
|
|
guacd:
|
|
host: ${GUACD_HOST:127.0.0.1}
|
|
port: ${GUACD_PORT:4822}
|
|
drive-path: ${GUACD_DRIVE_PATH:/home/guacd/drive}
|
|
|
|
management:
|
|
endpoints:
|
|
enabled-by-default: false
|
|
web:
|
|
exposure:
|
|
include: shutdown
|
|
|
|
mybatis-plus:
|
|
configuration:
|
|
# 日志打印
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
no:
|
|
redis: false
|