blob: e817f91190b51d2107b3c2a0aa5bd4310d9a0b9e [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
刘嘉昕88d3f7d2025-06-04 11:54:09 +08003#spring.datasource.url=jdbc:mysql://host.docker.internal:3306/pt?useSSL=false&serverTimezone=Asia/Shanghai
刘嘉昕f28ea232025-04-15 16:55:43 +08004spring.datasource.username=root
刘嘉昕88d3f7d2025-06-04 11:54:09 +08005spring.datasource.password=12345
刘嘉昕f28ea232025-04-15 16:55:43 +08006spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
刘嘉昕88d3f7d2025-06-04 11:54:09 +08007# application.properties
8#spring.datasource.url=jdbc:mysql://202.205.102.121:3306/1group5?useSSL=false&serverTimezone=Asia/Shanghai
9#spring.datasource.username=team5
10#spring.datasource.password=Team5001#
11#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
12hikari.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
26
刘嘉昕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/
38
39# ??????
40spring.mvc.static-path-pattern=/uploads/**
41spring.web.resources.static-locations=file:./postimgs/
42
刘嘉昕88d3f7d2025-06-04 11:54:09 +080043# application.properties ??
44tracker.url=http://localhost:6969/announce
45
46
47
48