刘嘉昕 | f28ea23 | 2025-04-15 16:55:43 +0800 | [diff] [blame] | 1 | spring.application.name=PT-houduan |
| 2 | spring.datasource.url=jdbc:mysql://localhost:3306/pt?useSSL=false&serverTimezone=Asia/Shanghai |
| 3 | spring.datasource.username=root |
刘嘉昕 | 88d3f7d | 2025-06-04 11:54:09 +0800 | [diff] [blame] | 4 | spring.datasource.password=12345 |
刘嘉昕 | f28ea23 | 2025-04-15 16:55:43 +0800 | [diff] [blame] | 5 | spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver |
刘嘉昕 | 88d3f7d | 2025-06-04 11:54:09 +0800 | [diff] [blame] | 6 | hikari.maximum-pool-size = 20 |
| 7 | hikari.minimum-idle = 5 |
| 8 | hikari.idle-timeout = 30000 |
刘嘉昕 | f28ea23 | 2025-04-15 16:55:43 +0800 | [diff] [blame] | 9 | # MyBatis-Plus ?? |
| 10 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl |
| 11 | mybatis-plus.global-config.db-config.id-type=auto |
| 12 | mybatis-plus.global-config.db-config.logic-delete-value=1 |
| 13 | mybatis-plus.global-config.db-config.logic-not-delete-value=0 |
刘嘉昕 | 88d3f7d | 2025-06-04 11:54:09 +0800 | [diff] [blame] | 14 | #logging.level.root=DEBUG |
| 15 | #logging.level.org.springframework.web=DEBUG |
| 16 | #logging.level.com.pt5=TRACE |
| 17 | #logging.level.root=DEBUG |
| 18 | mybatis-plus.mapper-locations=classpath:mapper/xml/*.xml |
刘嘉昕 | f28ea23 | 2025-04-15 16:55:43 +0800 | [diff] [blame] | 19 | mybatis-plus.type-aliases-package=com.pt5.pthouduan.entity |
刘嘉昕 | 88d3f7d | 2025-06-04 11:54:09 +0800 | [diff] [blame] | 20 | uploadDirectory= ./uploads/files # ???????? |
| 21 | torrent-dir= ./uploads/torrents # ???????? |
| 22 | # ?????? |
| 23 | pt.storage.torrent-path=/var/pt/torrents |
| 24 | pt.storage.temp-path=/var/pt/temp |
| 25 | # application.properties ?? |
21301050 | c519f71 | 2025-06-04 17:03:04 +0800 | [diff] [blame^] | 26 | # ???? |
| 27 | spring.mail.host=smtp.163.com # ?163???? |
| 28 | spring.mail.username=zhutai940@163.com |
| 29 | spring.mail.password=Cmr2005# |
| 30 | spring.mail.properties.mail.smtp.auth=true |
| 31 | spring.mail.properties.mail.smtp.starttls.enable=true |
| 32 | spring.mail.properties.mail.smtp.starttls.required=true |
| 33 | |
刘嘉昕 | 88d3f7d | 2025-06-04 11:54:09 +0800 | [diff] [blame] | 34 | tracker.url=http://localhost:6969/announce |
| 35 | |
| 36 | |
| 37 | |
| 38 | |