-
Notifications
You must be signed in to change notification settings - Fork 0
/
blue-apptest.json
64 lines (64 loc) · 1.52 KB
/
blue-apptest.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"id": "blue-apptest",
"acceptedResourceRoles": [
"slave_public"
],
"cmd": null,
"cpus": 0.25,
"disk": 0,
"instances": 2,
"ports": [
0
],
"networks": [
{
"mode": "container/bridge"
}
],
"container": {
"docker": {
"image": "portus.stacklocity.net/hivelocity/whoami",
"forcePullImage": true
},
"portMappings": [
{
"containerPort": 80,
"hostPort": 0,
"labels": {
"VIP_0": "apptest:10000"
},
"protocol": "tcp",
"servicePort": 10000,
"name": "apptest"
}
],
"type": "DOCKER",
"volumes": []
},
"env": {},
"healthChecks": [{
"portIndex": 0,
"protocol": "TCP",
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 0
}],
"labels": {
"HAPROXY_DEPLOYMENT_COLOUR":"blue",
"HAPROXY_DEPLOYMENT_TARGET_INSTANCES": 2,
"HAPROXY_0_PORT":"10000",
"HAPROXY_DEPLOYMENT_GROUP": "apptest",
"HAPROXY_0_GROUP": "external",
"HAPROXY_DEPLOYMENT_ALT_PORT": "10001",
"HAPROXY_APP_ID": "apptest",
"HAPROXY_0_ENABLED": "true",
"HAPROXY_0_USE_HSTS": "true",
"HAPROXY_0_REDIRECT_TO_HTTPS": "true",
"HAPROXY_0_BACKEND_HTTP_OPTIONS": " option httplog\n option forwardfor\n http-request set-header X-Forwarded-Port %[dst_port]\n http-request add-header X-Forwarded-Proto https if { ssl_fc }\n",
"HAPROXY_0_VHOST": "whoami.stacklocity.net"
},
"uris": [
"file:///etc/docker.tar.gz"
]
}