1.修改生产环境配置

This commit is contained in:
2025-06-27 21:53:06 +08:00
parent 5bcb57013b
commit a6a9e46812
3 changed files with 11 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ spring:
# todo 需替换配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
url: jdbc:mysql://47.79.98.113:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
username: root
password: 123asd
# Redis 配置

View File

@@ -8,31 +8,28 @@ spring:
# todo 需替换配置
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
url: jdbc:mysql://localhost:3326/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
username: root
password: 123asd
password: wfn53400
# Redis 配置
# todo 需替换配置
redis:
database: 1
host: localhost
port: 6379
port: 16379
timeout: 5000
password: 123456
password: ezyPM2UQkPO8O6i8s9
rabbitmq:
host: localhost
port: 5672
username: guest
password: guest
username: tkdata
password: 6rARaRj8Z7UG3ahLzh
listener:
simple:
acknowledge-mode: manual
# Elasticsearch 配置
# todo 需替换配置
elasticsearch:
uris: http://localhost:9200
username: root
password: 123456
mybatis-plus:
configuration:
# 生产环境关闭日志
@@ -40,7 +37,7 @@ mybatis-plus:
# 接口文档配置
knife4j:
basic:
enable: true
enable: false
username: root
password: 123456

View File

@@ -6,7 +6,7 @@ spring:
name: springboot-init
# 默认 dev 环境
profiles:
active: dev
active: prod
# 支持 swagger3
mvc:
pathmatch:
@@ -87,7 +87,7 @@ cos:
bucket: xxx
# 接口文档配置
knife4j:
enable: true
enable: false
openapi:
title: "接口文档"
version: 1.0