刘嘉昕 | 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 |
刘嘉昕 | 6edc9c6 | 2025-06-06 17:25:50 +0800 | [diff] [blame] | 25 | # application.properties |
| 26 | torrent.file-save-dir=./torrentfiles/ |
| 27 | torrent.cover-image-dir= coverimgs/ |
| 28 | # ???????????????Docker???????? |
| 29 | torrent.post-image-dir=postimgs/ |
| 30 | torrent.helppost-image-dir=helppostimgs/ |
| 31 | |
| 32 | # ?????? |
| 33 | spring.mvc.static-path-pattern=/uploads/** |
| 34 | spring.web.resources.static-locations=file:./postimgs/ |
| 35 | |
刘嘉昕 | 88d3f7d | 2025-06-04 11:54:09 +0800 | [diff] [blame] | 36 | # application.properties ?? |
21301050 | c519f71 | 2025-06-04 17:03:04 +0800 | [diff] [blame] | 37 | # ???? |
| 38 | spring.mail.host=smtp.163.com # ?163???? |
| 39 | spring.mail.username=zhutai940@163.com |
| 40 | spring.mail.password=Cmr2005# |
| 41 | spring.mail.properties.mail.smtp.auth=true |
| 42 | spring.mail.properties.mail.smtp.starttls.enable=true |
| 43 | spring.mail.properties.mail.smtp.starttls.required=true |
| 44 | |
刘嘉昕 | 88d3f7d | 2025-06-04 11:54:09 +0800 | [diff] [blame] | 45 | tracker.url=http://localhost:6969/announce |
| 46 | |
| 47 | |
| 48 | |
| 49 | |