Files
TKDataSave/src/main/resources/application-prod.yml
2025-06-13 16:58:16 +08:00

40 lines
854 B
YAML

# 线上配置文件
# @author <a href="https://github.com/liyupi">程序员鱼皮</a>
# @from <a href="https://yupi.icu">编程导航知识星球</a>
server:
port: 19665
spring:
# 数据库配置
# todo 需替换配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/ruoyi-vue-pro?rewriteBatchedStatements=true
username: root
password: 123asd
# Redis 配置
# todo 需替换配置
redis:
database: 0
host: localhost
port: 6379
timeout: 5000
rabbitmq:
host: localhost
port: 5672
username: guest
password: guest
listener:
simple:
acknowledge-mode: manual
mybatis-plus:
configuration:
# 生产环境关闭日志
log-impl: ''
# 接口文档配置
knife4j:
basic:
enable: false
username: root
password: 123456