ZBD | c7746b4 | 2025-05-10 01:42:30 +0800 | [diff] [blame] | 1 | # ========== 数据源 ========== |
ZBD | b704c9f | 2025-05-23 21:51:39 +0800 | [diff] [blame^] | 2 | spring.datasource.url=jdbc:mysql://mysql:3306/mydatabase?serverTimezone=Asia/Shanghai&createDatabaseIfNotExist=TRUE&useSSL=FALSE&allowPublicKeyRetrieval=TRUE |
ZBD | c7746b4 | 2025-05-10 01:42:30 +0800 | [diff] [blame] | 3 | spring.datasource.username=myuser |
| 4 | spring.datasource.password=secret |
| 5 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver |
ZBD | f60356c | 2025-04-03 20:09:51 +0800 | [diff] [blame] | 6 | |
ZBD | c7746b4 | 2025-05-10 01:42:30 +0800 | [diff] [blame] | 7 | # ========== JWT 配置 ========== |
| 8 | jwt.secret=YourJWTSecretKeyHere1234567890 |
| 9 | jwt.expirationMs=3600000 |
| 10 | |
| 11 | # ========== 日志输出(可选) ========== |
| 12 | logging.level.org.springframework.security=DEBUG |
ZBD | b704c9f | 2025-05-23 21:51:39 +0800 | [diff] [blame^] | 13 | |
| 14 | file.upload-dir=./torrents |
| 15 | |