配置变更

This commit is contained in:
2026-05-09 12:32:13 +08:00
parent 9a9febb0e2
commit d6fd8768af
3 changed files with 48 additions and 11 deletions

View File

@@ -6,17 +6,17 @@ spring:
allow-circular-references: true allow-circular-references: true
allow-bean-definition-overriding: true # 允许bean定义覆盖解决RabbitMQConfig中的objectMapper bean冲突 allow-bean-definition-overriding: true # 允许bean定义覆盖解决RabbitMQConfig中的objectMapper bean冲突
datasource: datasource:
url: jdbc:mysql://47.107.249.41:13306/gxwebsoft_core?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8 url: jdbc:mysql://1Panel-mysql-XsWW:3306/gxwebsoft_core?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
username: gxwebsoft_core username: gxwebsoft_core
password: ZXT5FkBREBJQPiAs password: ZXT5FkBREBJQPiAs
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
redis: redis:
database: 0 database: 0
host: 8.134.55.105 host: 1Panel-redis-GmNr
port: 16379 port: 6379
password: redis_t74P8C password: redis_t74P8C
# 日志配置 # 日志配置
logging: logging:

View File

@@ -0,0 +1,36 @@
# 开发环境配置
# 数据源配置
spring:
main:
allow-circular-references: true
allow-bean-definition-overriding: true # 允许bean定义覆盖解决RabbitMQConfig中的objectMapper bean冲突
datasource:
url: jdbc:mysql://47.107.249.41:13306/gxwebsoft_core?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
username: gxwebsoft_core
password: ZXT5FkBREBJQPiAs
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
redis:
database: 0
host: localhost
port: 6379
# 日志配置
logging:
level:
com.gxwebsoft: DEBUG
com.baomidou.mybatisplus: DEBUG
socketio:
host: localhost #IP地址
# 框架配置
config:
# 开发环境接口
server-url: http://127.0.0.1:9090/api
upload-path: /Users/gxwebsoft/Documents/uploads
#swagger:
#host: https://server.websoft.top/swagger-ui/index.html

View File

@@ -8,6 +8,7 @@ socketio:
spring: spring:
profiles: profiles:
active: dev active: dev
# active: local
application: application:
name: server name: server
@@ -56,11 +57,11 @@ spring:
multipart: multipart:
max-file-size: 500MB max-file-size: 500MB
max-request-size: 500MB max-request-size: 500MB
redis: # redis:
database: 0 # database: 0
host: 1Panel-redis-GmNr # host: 1Panel-redis-GmNr
port: 6379 # port: 6379
password: redis_t74P8C # password: redis_t74P8C
# RabbitMQ 配置 # RabbitMQ 配置
# rabbitmq: # rabbitmq: