25 lines
623 B
YAML
25 lines
623 B
YAML
spring:
|
||
# 配置数据库
|
||
datasource:
|
||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
url: jdbc:mysql://mysql:3306/learning_progress_tracker?allowPublicKeyRetrieval=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
|
||
username: root
|
||
password: GUOxy5157
|
||
server:
|
||
port: 8888
|
||
|
||
cors:
|
||
allowCredentials: true
|
||
allowed-origins:
|
||
- https://lpt-dev.cat-shark.xyz
|
||
|
||
sa-token:
|
||
cookie:
|
||
secure: false
|
||
sameSite: Lax
|
||
|
||
# 开发环境打印 SQL(Slf4jImpl 下由 mapper 包日志级别控制)
|
||
logging:
|
||
level:
|
||
com.guo.learningprogresstracker.mapper: debug
|