22301080 | fd521b0 | 2025-04-24 23:22:49 +0800 | [diff] [blame] | 1 | spring.application.name=PTPlatform |
| 2 | |
| 3 | # debug mode |
| 4 | #debug=true |
| 5 | spring.profiles.active=test |
| 6 | |
| 7 | # running port |
| 8 | server.port = 8088 |
| 9 | |
| 10 | # hot deployment |
| 11 | spring.devtools.restart.enabled=true |
| 12 | spring.devtools.restart.additional-paths=src/main/java |
| 13 | spring.devtools.restart.exclude=static/** |
| 14 | |
| 15 | # database setting |
| 16 | spring.datasourse.type=com.alibaba.druid.pool.DruidDataSource |
| 17 | spring.datasource.driver-class-name=com.mysql.jdbc.Driver |
Akane1217 | 7decfe8 | 2025-05-17 13:26:56 +0800 | [diff] [blame] | 18 | spring.datasource.url=jdbc:mysql://202.205.102.121:3306/G2ptpdatadevelop?useUnicode=true&characterEncoding=utf8 |
| 19 | spring.datasource.username=team2 |
| 20 | spring.datasource.password=123456 |
22301080 | fd521b0 | 2025-04-24 23:22:49 +0800 | [diff] [blame] | 21 | mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl |
| 22 | |
| 23 | # Hibernate properties |
| 24 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect |
| 25 | spring.jpa.hibernate.ddl-auto=update |
| 26 | |
| 27 | # MyBatis-Plus properties |
| 28 | mybatis-plus.mapper-locations=classpath:/mapper/*.xml |
22301080 | a033473 | 2025-05-17 21:38:32 +0800 | [diff] [blame^] | 29 | mybatis-plus.type-aliases-package=com.example.demo.model |
| 30 | |
| 31 | # Tracker?? |
| 32 | bittorrent.tracker.torrent-dir=./torrents |
| 33 | |
| 34 | # ?????? |
| 35 | spring.servlet.multipart.enabled=true |
| 36 | spring.servlet.multipart.max-file-size=10MB |
| 37 | spring.servlet.multipart.max-request-size=10MB |