Files
chuanggao-website/server/target/classes/application.yml
王文昊 9dd57951da config: update database and minio configuration
修改了数据库连接地址、端口以及MinIO的访问密钥和密钥,适配线上部署环境
2026-05-13 16:08:52 +08:00

51 lines
1.2 KiB
YAML

server:
port: 8080
spring:
datasource:
url: jdbc:mysql://117.72.159.31:3307/chuanggao_furniture?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: root
password: 135827
driver-class-name: com.mysql.cj.jdbc.Driver
servlet:
multipart:
max-file-size: 10MB
max-request-size: 100MB
mybatis-plus:
global-config:
db-config:
id-type: auto
logic-delete-field: delFlag
logic-delete-value: 2
logic-not-delete-value: 0
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: true
mapper-locations: classpath:mapper/*.xml
type-aliases-package: com.chuanggao.entity
# Sa-Token
sa-token:
token-name: Authorization
token-prefix: Bearer
timeout: 2592000
is-concurrent: true
is-share: true
is-login: false
is-read-cookie: false
is-read-header: true
is-write-header: true
# MinIO
minio:
endpoint: http://117.72.159.31:9000
access-key: sdjKoDWRPC12nkKQIuz9
secret-key: BQfVWmO58E2SQS9vBRutr8zD12qxyIgKevr4XNbr
bucket: chuanggao-images
public-url: http://117.72.159.31:9000/chuanggao-images
# 站点配置
chuanggao:
site-code: cg