chore: configure remote mysql database

This commit is contained in:
张锐 committed 2026-11-21 14:27:09 +08:00
1 parent de2074a43b
commit 2d79e00c58
4 files changed
+12 -6

No files matched your search

+3 -3
View File
@@ -8,9 +8,9 @@ spring:
max-file-size: 10MB
max-request-size: 12MB
datasource:
url: jdbc:mysql://127.0.0.1:3306/shoplix?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false
username: shoplix
password: Shoplix_Local_2026!
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}
driver-class-name: com.mysql.cj.jdbc.Driver
flyway:
enabled: true