|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- smtweb:
- machine-id: 1
- static:
- local-path: /data/sw/static/
- file:
- local-path: /data/sw/files/
- url: http://127.0.0.1:8888/files
- db:
- default:
- rule:
- prefix: _smt_
- replace: smt_
- server:
- port: 8888
- servlet:
- context-path: /
- logging:
- level:
- root: INFO
- cc.smtweb: DEBUG
- spring:
- # 设置服务名
- application:
- name: smtweb_core
- main:
- allow-bean-definition-overriding: true
- redis:
- host: 127.0.0.1
- port: 6379
- password:
- datasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/sw_user?serverTimezone=UTC&allowMultiQueries=true&useSSL=false
- username: root
- password: 1681860
- servlet:
- multipart:
- max-file-size: 104857600000
- max-request-size: 10485760000000
- profiles:
- include: role
- cache:
- type: caffeine
- cache-names:
- - core
- caffeine:
- spec: maximumSize=1024,expireAfterWrite=2h
|