build: 构建生产环境配置

This commit is contained in:
xiongxiaoyang
2025-03-15 17:25:10 +08:00
parent af1237e2d7
commit 81c1514a21
13 changed files with 26 additions and 119 deletions

View File

@ -9,6 +9,9 @@ server:
# basic:
# enabled: false
spring:
datasource:
driverClassName: org.apache.shardingsphere.driver.ShardingSphereDriver
url: jdbc:shardingsphere:absolutepath:${user.dir}/config/shardingsphere-jdbc.yml
thymeleaf:
mode: LEGACYHTML5
cache: false
@ -23,7 +26,7 @@ spring:
multipart:
max-file-size: 100MB
max-request-size: 100MB
devtools:
restart:
enabled: true