/
config.yaml
48 lines (48 loc) · 962 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
public-rest:
cors:
origin:
- http://localhost
image-storage:
src-override:
host: 127.0.0.1:19000
scheme: http
s3:
region: "us-east-1"
endpoint: http://127.0.0.1:19000
credentials:
key: "AKIAIOSFODNN7EXAMPLE"
secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
dirs:
test:
naming-strategy:
strategy: 'serial'
options:
deep: 2
bucket: 'test'
naming:
naming-strategy:
strategy: 'pattern'
bucket: 'naming'
formats:
test:
fitType: 0
width: 160
height: 120
background: '#fff'
strip: true
# picture-gallery:
# fitType: 2
# width: 1024
# height: 768
# reduceOnly: true
# strip: true
# format: 'jpeg'
# with-processor:
# fitType: 0
# width: 160
# height: 120
# background: '#fff'
# strip: true
redis: redis://127.0.0.1:6379
captcha: false
message-interval: 0