| | |
| | | server: |
| | | tomcat: |
| | | uri-encoding: UTF-8 |
| | | max-threads: 1000 |
| | | min-spare-threads: 5 |
| | | port: 12316 |
| | | context-path: /land |
| | | #servlet: |
| | | # context-path: /land |
| | | application: |
| | | name: land |
| | | |
| | | spring: |
| | | datasource: |
| | |
| | | url : jdbc:postgresql://192.168.20.39:5433/langfang |
| | | driver-class-name: org.postgresql.Driver |
| | | type: com.alibaba.druid.pool.DruidDataSource # 自定义数据源 |
| | | |
| | | #Spring Boot 默认是不注入这些属性值的,需要自己绑定 |
| | | #druid 数据源专有配置 |
| | | initialSize: 5 |
| | | minIdle: 5 |
| | |
| | | testOnBorrow: false |
| | | testOnReturn: false |
| | | poolPreparedStatements: true |
| | | |
| | | #配置监控统计拦截的filters,stat:监控统计、log4j:日志记录、wall:防御sql注入 |
| | | #如果允许时报错 java.lang.ClassNotFoundException: org.apache.log4j.Priority |
| | | #则导入 log4j 依赖即可,Maven 地址:https://mvnrepository.com/artifact/log4j/log4j |
| | | filters: stat,wall,log4j |
| | | maxPoolPreparedStatementPerConnectionSize: 20 |
| | | useGlobalDataSourceStat: true |
| | | connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500 |
| | | |
| | | #ojdbc: |
| | | # jdbcUrl: jdbc:postgresql://192.168.20.106:5432/langfang |
| | | # driverclass: org.postgresql.Driver |
| | | # username: postgres |
| | | # password: postgres |
| | | redis: |
| | | host: 192.168.20.39 |
| | | port: 6379 |
| | | password: |
| | | database: 1 |
| | | jackson: |
| | | time-zone: GMT+8 |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | |
| | | mybatis: |
| | | type-aliases-package: com.terra.land.mapper |
| | | mapper-locations: classpath:mapper/**/*.xml |
| | | |
| | | logging: |
| | | config: classpath:log/logback-spring.xml |
| | | |
| | | # RestTemplate config |
| | | remote: |
| | | maxTotalConnect: 0 |
| | | maxConnectPerRoute: 1000 |
| | | connectTimeout: 5000 |
| | | readTimeout: 30000 |
| | | |
| | | # 系统配置 |
| | | sys: |
| | | path: E:\\Test\\LF\\ |