2026-11-21 14:09:59 +08:00
|
|
|
server:
|
|
|
|
|
port: 8081
|
2026-11-24 15:33:40 +08:00
|
|
|
servlet:
|
|
|
|
|
session:
|
|
|
|
|
timeout: 30d
|
|
|
|
|
cookie:
|
|
|
|
|
max-age: 30d
|
|
|
|
|
http-only: true
|
|
|
|
|
same-site: lax
|
2026-11-21 14:09:59 +08:00
|
|
|
spring:
|
|
|
|
|
application:
|
|
|
|
|
name: shoplix-admin
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
2026-11-24 21:32:53 +08:00
|
|
|
max-file-size: 200MB
|
|
|
|
|
max-request-size: 205MB
|
2026-11-21 14:09:59 +08:00
|
|
|
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:
|
2026-11-22 10:14:44 +08:00
|
|
|
admin:
|
|
|
|
|
initial-username: ${SHOPLIX_ADMIN_USERNAME:admin}
|
|
|
|
|
initial-password: ${SHOPLIX_ADMIN_PASSWORD:Shoplix@2026}
|
|
|
|
|
site-code: ${SHOPLIX_ADMIN_SITE_CODE:SIT0000000000001}
|
2026-11-21 14:09:59 +08:00
|
|
|
code:
|
|
|
|
|
worker-id: 1
|
2026-11-24 21:32:53 +08:00
|
|
|
storage:
|
|
|
|
|
endpoint: ${SHOPLIX_OSS_INTERNAL_ENDPOINT:http://192.168.31.101:19000}
|
|
|
|
|
public-base-url: ${SHOPLIX_OSS_PUBLIC_BASE_URL:https://oss-api.steliro.com/shoplix-test}
|
|
|
|
|
bucket: ${SHOPLIX_OSS_BUCKET:shoplix-test}
|
|
|
|
|
region: ${SHOPLIX_OSS_REGION:us-east-1}
|
|
|
|
|
access-key: ${SHOPLIX_OSS_ACCESS_KEY:}
|
|
|
|
|
secret-key: ${SHOPLIX_OSS_SECRET_KEY:}
|
|
|
|
|
path-style-access: ${SHOPLIX_OSS_PATH_STYLE_ACCESS:true}
|