feat(13): 配置dev数据库

This commit is contained in:
2025-10-08 23:16:14 +08:00
parent 2b401feb82
commit cdacb1f83e
+19
View File
@@ -0,0 +1,19 @@
spring:
# 配置数据库
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://mysql8:3306/learning_progress_tracker?allowPublicKeyRetrieval=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
password: GUOxy5157
server:
port: 5157
cors:
allowed-origins:
- http://192.168.123.199:5158
- http://39.105.149.197:8115
- https://lpt.cat-shark.xyz
sa-token:
cookie:
secure: true