2026-11-21 14:09:59 +08:00
|
|
|
server:
|
|
|
|
|
port: 8081
|
|
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
name: shoplix-admin
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
max-file-size: 10MB
|
|
|
|
|
max-request-size: 12MB
|
|
|
|
|
datasource:
|
2026-11-21 14:27:09 +08:00
|
|
|
url: jdbc:mysql://mysql.steliro.com:3306/shoplix?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false
|
|
|
|
|
username: root
|
|
|
|
|
password: ${SHOPLIX_DB_PASSWORD}
|
2026-11-21 14:09:59 +08:00
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
flyway:
|
|
|
|
|
enabled: true
|
|
|
|
|
locations: classpath:db/migration
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
configuration:
|
|
|
|
|
map-underscore-to-camel-case: true
|
|
|
|
|
global-config:
|
|
|
|
|
db-config:
|
|
|
|
|
logic-delete-field: deleted
|
|
|
|
|
logic-delete-value: 1
|
|
|
|
|
logic-not-delete-value: 0
|
|
|
|
|
shoplix:
|
|
|
|
|
code:
|
|
|
|
|
worker-id: 1
|