Files
orion-visor/orion-visor-launch/src/main/resources/application-dev.yaml
lijiahangmax 86abf4f634 🔨 告警记录.
2025-09-29 13:35:47 +08:00

52 lines
1.4 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&rewriteBatchedStatements=true&useServerPrepStmts=false
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:1}
data-version: ${REDIS_DATA_VERSION:1}
mock: false
redisson:
threads: 2
netty-threads: 2
minimum-idle-size: 2
influxdb:
enabled: ${INFLUXDB_ENABLED:true}
url: http://${INFLUXDB_HOST:127.0.0.1}:${INFLUXDB_PORT:8086}
org: ${INFLUXDB_ORG:orion-visor}
bucket: ${INFLUXDB_BUCKET:metrics}
token: ${INFLUXDB_TOKEN:Data@123456}
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