qiaowei | f7ef143 | 2019-04-15 17:52:42 +0800 | [diff] [blame] | 1 | #######################################springboot配置 start################################# |
| 2 | # 单库数据库配置 |
qiaowei | f7ef143 | 2019-04-15 17:52:42 +0800 | [diff] [blame] | 3 | spring.jpa.show-sql=true |
| 4 | spring.datasource.hikari.connection-timeout=60000 |
| 5 | spring.datasource.hikari.maximum-pool-size=5 |
Tang Cheng | 0218221 | 2019-04-24 14:00:16 +0800 | [diff] [blame] | 6 | spring.datasource.initialization-mode=always |
| 7 | spring.datasource.continue-on-error=true |
qiaowei | f7ef143 | 2019-04-15 17:52:42 +0800 | [diff] [blame] | 8 | spring.jpa.hibernate.ddl-auto=update |
Tang Cheng | a0045f9 | 2019-04-24 14:41:34 +0800 | [diff] [blame^] | 9 | |
| 10 | spring.flyway.locations=classpath:db/migration |
qiaowei | f7ef143 | 2019-04-15 17:52:42 +0800 | [diff] [blame] | 11 | # logging |
| 12 | logging.pattern.console=%d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} - %msg%n |
| 13 | logging.level.org.hibernate.SQL=debug |
| 14 | #################### JSP PAGE #################### |
Xia Kaixiang | 2d3a1ce | 2019-04-16 17:58:56 +0800 | [diff] [blame] | 15 | #spring.mvc.view.prefix=/pages/ |
| 16 | #spring.mvc.view.suffix=.jsp |
| 17 | #################### thymeleaf #################### |
| 18 | spring.mvc.static-path-pattern=/static/** |
| 19 | spring.thymeleaf.prefix=classpath:/templates/ |
| 20 | spring.thymeleaf.suffix=.html |
| 21 | spring.thymeleaf.encoding=UTF-8 |
| 22 | spring.thymeleaf.mode=HTML5 |
Xia Kaixiang | 72373d8 | 2019-04-18 13:52:36 +0800 | [diff] [blame] | 23 | spring.thymeleaf.cache=false |
| 24 | spring.thymeleaf.enabled=true |
Tang Cheng | 9233499 | 2019-04-23 10:00:16 +0800 | [diff] [blame] | 25 | |
| 26 | ################################################ |
| 27 | # user password |
| 28 | auth.password.bcrypt.length=10 |
| 29 | |