forked from Schlabbi/docker-notify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json.example
44 lines (44 loc) · 1.12 KB
/
config.json.example
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
{
"checkInterval": 60,
"notifyServices":[
{
"image": "nextcloud:fpm",
"actions": [
{
"type": "mailHook",
"instance": "generalMail",
"recipient": "info@example.org"
}
]
},
{
"image": "gitlab/gitlab-ce:latest",
"actions": [
{
"type": "webHook",
"instance": "gitlabHook"
}
]
}
],
"smtpServer": {
"generalMail": {
"host": "mail.example.org",
"port": 25,
"username": "docker-notify@example.org",
"password": "PASSWORD",
"sendername": "Docker-Notify",
"senderadress": "docker-notify@example.org"
}
},
"webHooks":{
"gitlabHook": {
"reqUrl": "https://ci.example.org",
"httpMethod": "POST",
// This one is optional and will default to null.
"httpBody": {
"foo": [1, 2, 3]
}
}
}
}