Files
lpt-be/src/main/resources/application-dev.yml
T

25 lines
623 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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