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