-
Notifications
You must be signed in to change notification settings - Fork 0
/
witan-app.json.template
41 lines (41 loc) · 1.12 KB
/
witan-app.json.template
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
{
"acceptedResourceRoles": ["slave_public"],
"container": {
"type": "DOCKER",
"docker": {
"image": "mastodonc/witan.app:@@TAG@@",
"parameters": [
{"key": "env", "value": "ENVIRONMENT=@@ENVIRONMENT@@"},
{"key": "log-driver", "value": "gelf"},
{"key": "log-opt", "value": "gelf-address=udp://logstash.@@VPC@@-vpc.kixi:12201"},
{"key": "log-opt", "value": "tag=@@ENVIRONMENT@@"},
{"key": "label", "value": "cluster=@@ENVIRONMENT@@"},
{"key": "label", "value": "application=witan-app"}
],
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 3000,
"hostPort": 3000,
"protocol": "tcp"
},
{
"containerPort": 5001,
"hostPort": 5001,
"protocol": "tcp"
}
]
}
},
"id": "witan-app",
"cpus": 1,
"mem": 4096,
"healthChecks": [{
"protocol": "TCP",
"gracePeriodSeconds": 600,
"intervalSeconds": 30,
"portIndex": 0,
"timeoutSeconds": 10,
"maxConsecutiveFailures": 3
}]
}