Files
tkcrawl-client/src/main/resources/application-prod.yml

44 lines
1.0 KiB
YAML
Raw Normal View History

2025-06-11 14:45:40 +08:00
# 线上配置文件
# @author <a href="https://github.com/liyupi">程序员鱼皮</a>
# @from <a href="https://yupi.icu">编程导航知识星球</a>
server:
port: 8101
spring:
# 数据库配置
# todo 需替换配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
2025-06-27 21:53:06 +08:00
url: jdbc:mysql://localhost:3326/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
2025-06-11 14:45:40 +08:00
username: root
2025-06-27 21:53:06 +08:00
password: wfn53400
2025-06-11 14:45:40 +08:00
# Redis 配置
# todo 需替换配置
redis:
database: 1
host: localhost
2025-06-27 21:53:06 +08:00
port: 16379
2025-06-11 14:45:40 +08:00
timeout: 5000
2025-06-27 21:53:06 +08:00
password: ezyPM2UQkPO8O6i8s9
2025-06-11 14:45:40 +08:00
rabbitmq:
host: localhost
port: 5672
2025-06-27 21:53:06 +08:00
username: tkdata
password: 6rARaRj8Z7UG3ahLzh
2025-06-11 14:45:40 +08:00
listener:
simple:
acknowledge-mode: manual
# Elasticsearch 配置
# todo 需替换配置
2025-06-27 21:53:06 +08:00
2025-06-11 14:45:40 +08:00
mybatis-plus:
configuration:
# 生产环境关闭日志
log-impl: ''
# 接口文档配置
knife4j:
basic:
2025-06-27 21:53:06 +08:00
enable: false
2025-06-11 14:45:40 +08:00
username: root
password: 123456