CONFIG:TO PROD

This commit is contained in:
2025-10-28 15:49:59 +08:00
parent 87dc9566c2
commit 262b891013
2 changed files with 21 additions and 10 deletions

View File

@@ -1,4 +1,7 @@
# Spring Boot 应用配置
# 服务器配置
server:
port: 8771
spring:
# 应用基本信息
@@ -7,8 +10,8 @@ spring:
# 数据源配置 - MySQL
datasource:
url: jdbc:mysql://localhost:3306/lanecarford?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
username: root
url: jdbc:mysql://18.167.251.121:33008/lanecrawford?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
username: aida_con
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
# HikariCP 连接池配置
@@ -32,7 +35,7 @@ spring:
min-idle: 0
max-wait: 5
security:
jwtSecret: JWTSECRET
jwtSecret: TXacaath8k63fQMAkfuRk3s5GTZyjRpS
jwtTokenHeader: Authorization
jwtTokenPrefix: Bearer-
jwtExpiration: 604800000
@@ -41,7 +44,7 @@ spring:
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
logic-delete-field: deleted
@@ -49,10 +52,6 @@ mybatis-plus:
logic-not-delete-value: 0
mapper-locations: classpath*:/mapper/**/*.xml
# 服务器配置
server:
port: 8771
# Swagger 文档配置
springdoc:
api-docs:
@@ -66,7 +65,19 @@ logging:
level:
com.aida.lanecarford: DEBUG
# MinIO 对象存储配置
minio:
endpoint: https://www.minio-api.aida.com.hk
access-key: admin
secret-key: Aidlab123123!
bucket-name: lanecarford
# 文件访问URL前缀
url-prefix: ${minio.endpoint}/${minio.bucket-name}/
tencent-cloud:
secret-id: AKID52lRwDIBsLaZLtDI9m9LJMAj36wYw50i
secret-key: XqujLlywhHfrqcCYfYVHtNgmeIiwxkKf
sender: info@aida.com.hk
sender: info@aida.com.hk
webhook:
domain: http://18.167.251.121:10095

View File

@@ -1,3 +1,3 @@
spring:
profiles:
active: dev
active: prod