-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathconfig.yml
47 lines (46 loc) · 1.14 KB
/
config.yml
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
##
# TinyJPG v0.0.8
#
# worker - maximum amount workers, Default value - 5
# verbose - verbose log, Default value - true
# worker_buffer - maximum buffer queue workers, Default value - 100
# event_buffer - maximum buffer an event reported by the underlying filesystem notification subsystem, Default value - 100
##
general:
worker: 5
worker_buffer: 100
event_buffer: 300
verbose: false
info_log: '/var/log/tinyjpg/info.log'
###
# Image compress settings
#
# paths - directories you need to track
# prefix - prefix of files to be processed, Default value all files - *
#
# file will be observed:
# orig-beatiful-kitten-2019.jpg
# medium-beatiful-dog-600x800.jpg
#
# file will not be observed:
# myphoto-beatiful-kitten-2019.jpg
# simplephoto-beatiful-dog-600x80.jpg
#
# example use
#
# prefix:
# - 'orig'
# - 'medium'
# - 'full'
#
# quality - This param image quality level in percentage.
# If the original image quality is lower than the quality of the parameter - quality
# the image will not be processed
###
compress:
paths:
- '/home/www/example.com/uploads'
- '/home/www/site.org/uploads'
prefix:
- '*'
quality: 82