blob: cdb1466774c64fde28e6cc893b4113b703e9d5af [file] [log] [blame]
刘嘉昕f28ea232025-04-15 16:55:43 +08001spring.application.name=PT-houduan
21301050f5f827d2025-06-09 15:09:33 +08002#spring.datasource.url=jdbc:mysql://localhost:3306/pt?useSSL=false&serverTimezone=Asia/Shanghai
3##spring.datasource.url=jdbc:mysql://host.docker.internal:3306/pt?useSSL=false&serverTimezone=Asia/Shanghai
4#spring.datasource.username=root
5#spring.datasource.password=12345
6#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
7# application.properties
8spring.datasource.url=jdbc:mysql://202.205.102.121:3306/1group5?useSSL=false&serverTimezone=Asia/Shanghai
9spring.datasource.username=team5
10spring.datasource.password=Team5001#
刘嘉昕f28ea232025-04-15 16:55:43 +080011spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
刘嘉昕88d3f7d2025-06-04 11:54:09 +080012hikari.maximum-pool-size = 20
13hikari.minimum-idle = 5
14hikari.idle-timeout = 30000
刘嘉昕f28ea232025-04-15 16:55:43 +080015# MyBatis-Plus ??
16mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
17mybatis-plus.global-config.db-config.id-type=auto
18mybatis-plus.global-config.db-config.logic-delete-value=1
19mybatis-plus.global-config.db-config.logic-not-delete-value=0
刘嘉昕88d3f7d2025-06-04 11:54:09 +080020#logging.level.root=DEBUG
21#logging.level.org.springframework.web=DEBUG
22#logging.level.com.pt5=TRACE
23#logging.level.root=DEBUG
24mybatis-plus.mapper-locations=classpath:mapper/xml/*.xml
刘嘉昕f28ea232025-04-15 16:55:43 +080025mybatis-plus.type-aliases-package=com.pt5.pthouduan.entity
21301050f5f827d2025-06-09 15:09:33 +080026
刘嘉昕88d3f7d2025-06-04 11:54:09 +080027uploadDirectory= ./uploads/files # ????????
28torrent-dir= ./uploads/torrents # ????????
29# ??????
30pt.storage.torrent-path=/var/pt/torrents
31pt.storage.temp-path=/var/pt/temp
刘嘉昕6edc9c62025-06-06 17:25:50 +080032# application.properties
33torrent.file-save-dir=./torrentfiles/
34torrent.cover-image-dir= coverimgs/
35# ???????????????Docker????????
36torrent.post-image-dir=postimgs/
37torrent.helppost-image-dir=helppostimgs/
21301050f5f827d2025-06-09 15:09:33 +080038torrent.activity-image-dir=activityimgs/
39torrent.user-image-dir=userimgs/
刘嘉昕6edc9c62025-06-06 17:25:50 +080040
21301050f5f827d2025-06-09 15:09:33 +080041spring.mail.host=smtp.163.com
42spring.mail.username=zhutai940@163.com
43spring.mail.password=SMQUgkztweuv7LdZ
44spring.mail.properties.mail.smtp.auth=true
45spring.mail.properties.mail.smtp.starttls.enable=true
46spring.mail.properties.mail.smtp.starttls.required=true
刘嘉昕6edc9c62025-06-06 17:25:50 +080047# ??????
48spring.mvc.static-path-pattern=/uploads/**
49spring.web.resources.static-locations=file:./postimgs/
50
刘嘉昕88d3f7d2025-06-04 11:54:09 +080051# application.properties ??
52tracker.url=http://localhost:6969/announce
53
54
55
56