Files
shoplix/site/src/main/resources/application.yml
T

40 lines
1.3 KiB
YAML
Raw Normal View History

2026-11-21 14:09:59 +08:00
server:
port: 8082
spring:
application:
name: shoplix-site
2026-11-24 21:32:53 +08:00
servlet:
multipart:
max-file-size: 10MB
max-request-size: 12MB
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: false
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: 2
site:
domain-cache-seconds: 300
inquiry:
# 本地开发摘要盐,生产部署前必须替换且保持稳定。
hash-salt: Shoplix_Local_Inquiry_Hash_2026_Change_In_Production
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}