auth-server-java/auth-api/src/main/resources/application-test.yml

57 lines
1.4 KiB
YAML
Raw Normal View History

server:
port: 8000
# mybatis-plus:
2024-11-07 23:50:11 +08:00
# configuration:
# map-underscore-to-camel-case: true
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 查看日志
logging:
level:
cn.bunny.service.mapper: warn
cn.bunny.service.controller: warn
cn.bunny.service.service: warn
root: warn
pattern:
dateformat: HH:mm:ss:SSS
2024-11-08 16:49:14 +08:00
# file:
# path: "logs/${spring.application.name}"
# name: "logs/${spring.application.name}"
# 线上禁用文档
knife4j:
enable: true
production: true
# rabbitmq:
# host: ${bunny.rabbitmq.host}
# port: ${bunny.rabbitmq.port}
# username: ${bunny.rabbitmq.username}
# password: ${bunny.rabbitmq.password}
# virtual-host: ${bunny.rabbitmq.virtual-host}
# publisher-confirm-type: correlated # 交换机确认
# publisher-returns: true # 队列确认
# listener:
# simple:
# acknowledge-mode: manual # 手动处理消息
# connection-timeout: 1s # 设置MQ连接超时时间
# template:
# retry:
# enabled: true # 失败重试
# initial-interval: 1000ms # 失败后初始时间
# multiplier: 1 # 失败后下次等待时长倍数 initial-interval * multiplier
# max-attempts: 3 # 最大重试次数
bunny:
master:
2024-10-24 16:20:51 +08:00
host: 192.168.3.98
port: 3306
database: auth_admin
2024-10-24 16:20:51 +08:00
username: root
password: "123456"
redis:
2024-10-24 16:20:51 +08:00
host: 192.168.3.98
port: 6379
database: 0
password: "123456"