-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathconfig.yml
60 lines (49 loc) · 1.46 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
48
49
50
51
52
53
54
55
56
57
58
59
60
# ---------------------------
# WebhookX configuration file
# ---------------------------
log:
file: /dev/stdout
level: info # supported values are debug, info, warn, and error.
format: text # supported values are text and json
database:
host: localhost
port: 5432
username: webhookx
password:
database: webhookx
redis:
host: localhost
port: 6379
password:
database: 0
#------------------------------------------------------------------------------
# ADMIN
#------------------------------------------------------------------------------
admin:
#listen: 127.0.0.1:8080
#------------------------------------------------------------------------------
# WORKER
#------------------------------------------------------------------------------
worker:
enabled: false
deliverer:
timeout: 60000
#------------------------------------------------------------------------------
# PROXY
#------------------------------------------------------------------------------
proxy:
#listen: 127.0.0.1:8081
timeout_read: 10 # read timeout (in seconds), 0 indicates unlimited.
timeout_write: 60 # write timeout (in seconds), 0 indicates unlimited.
max_request_body_size: 1048576
response:
code: 200
content-type: application/json
body: '{"message": "OK"}'
queue:
type: redis # supported values are redis, off
redis:
host: localhost
port: 6379
password:
database: 0