blob: f1c382a6f92e9f9e3ca7845faeaa7b5a7c1340df [file] [log] [blame]
刘嘉昕f28ea232025-04-15 16:55:43 +08001spring.application.name=PT-houduan
2spring.datasource.url=jdbc:mysql://localhost:3306/pt?useSSL=false&serverTimezone=Asia/Shanghai
3spring.datasource.username=root
刘嘉昕88d3f7d2025-06-04 11:54:09 +08004spring.datasource.password=12345
刘嘉昕f28ea232025-04-15 16:55:43 +08005spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
刘嘉昕88d3f7d2025-06-04 11:54:09 +08006hikari.maximum-pool-size = 20
7hikari.minimum-idle = 5
8hikari.idle-timeout = 30000
刘嘉昕f28ea232025-04-15 16:55:43 +08009# MyBatis-Plus ??
10mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
11mybatis-plus.global-config.db-config.id-type=auto
12mybatis-plus.global-config.db-config.logic-delete-value=1
13mybatis-plus.global-config.db-config.logic-not-delete-value=0
刘嘉昕88d3f7d2025-06-04 11:54:09 +080014#logging.level.root=DEBUG
15#logging.level.org.springframework.web=DEBUG
16#logging.level.com.pt5=TRACE
17#logging.level.root=DEBUG
18mybatis-plus.mapper-locations=classpath:mapper/xml/*.xml
刘嘉昕f28ea232025-04-15 16:55:43 +080019mybatis-plus.type-aliases-package=com.pt5.pthouduan.entity
刘嘉昕88d3f7d2025-06-04 11:54:09 +080020uploadDirectory= ./uploads/files # ????????
21torrent-dir= ./uploads/torrents # ????????
22# ??????
23pt.storage.torrent-path=/var/pt/torrents
24pt.storage.temp-path=/var/pt/temp
刘嘉昕6edc9c62025-06-06 17:25:50 +080025# application.properties
26torrent.file-save-dir=./torrentfiles/
27torrent.cover-image-dir= coverimgs/
28# ???????????????Docker????????
29torrent.post-image-dir=postimgs/
30torrent.helppost-image-dir=helppostimgs/
31
32# ??????
33spring.mvc.static-path-pattern=/uploads/**
34spring.web.resources.static-locations=file:./postimgs/
35
刘嘉昕88d3f7d2025-06-04 11:54:09 +080036# application.properties ??
21301050c519f712025-06-04 17:03:04 +080037# ????
38spring.mail.host=smtp.163.com # ?163????
39spring.mail.username=zhutai940@163.com
40spring.mail.password=Cmr2005#
41spring.mail.properties.mail.smtp.auth=true
42spring.mail.properties.mail.smtp.starttls.enable=true
43spring.mail.properties.mail.smtp.starttls.required=true
44
刘嘉昕88d3f7d2025-06-04 11:54:09 +080045tracker.url=http://localhost:6969/announce
46
47
48
49