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

32 lines
900 B
YAML
Raw Normal View History

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:
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