-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.json
42 lines (42 loc) · 1.04 KB
/
example.json
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
{
"logdir": "/var/log/minisv",
"logfileprefix": "container1-",
"logreopen": "1h",
"logsuffixdate": "20060102.150405",
"logdate": "2006/01/02 15:04:05",
"graylog": {
"remote": "graylog.example.com",
"level": 1,
"addfields": {
"_some_info": "foo",
"_some_env_var": "bar"
}
},
"tasks": {
"redis": {
"command": "/usr/bin/redis-server",
"args": ["--port", "6379"],
"workdir": "/tmp",
"wait": 60,
"restartPause":1,
"startTime": 10
},
"nginx": {
"command": "/usr/sbin/nginx",
"args": ["-g", "daemon off;"],
"wait": 60,
"restartPause":0,
"startTime": 3
},
"pull": {
"command": "/usr/bin/git",
"args": ["pull", "-f"],
"workdir": "/home/www/example.com",
"oneTime": true
}
},
"http": {
"address": "127.0.0.1",
"port": 3443
}
}