forked from SeungpilPark/uEngine-bill
-
Notifications
You must be signed in to change notification settings - Fork 7
/
uengine-bill-metering.json
77 lines (77 loc) · 1.68 KB
/
uengine-bill-metering.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
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"id": "/uengine-bill-metering",
"cmd": null,
"cpus": 0.5,
"mem": 512,
"disk": 0,
"instances": 1,
"acceptedResourceRoles": [
"*"
],
"container": {
"type": "DOCKER",
"docker": {
"forcePullImage": true,
"image": "sppark/uengine-bill-metering:v1",
"parameters": [
{
"key": "label",
"value": "APP_NAME=uengine-bill-metering"
},
{
"key": "label",
"value": "APP_TYPE=system"
}
],
"privileged": false
},
"volumes": [
{
"containerPath": "/pinpoint-agent",
"hostPath": "/pinpoint-agent",
"mode": "RW"
}
],
"portMappings": [
{
"containerPort": 8080,
"hostPort": 0,
"labels": {},
"protocol": "tcp",
"servicePort": 21999
}
]
},
"env": {
"SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS": "52.79.164.208:9092",
"SPRING_DATA_ELASTICSEARCH_HOST": "13.125.185.128",
"SPRING_DATA_ELASTICSEARCH_PORT": "9200",
"billing_url": "http://billing.pas-mini.io",
"billing_authentication": "Basic YmlsbGluZ0B1ZW5naW5lLm9yZzoxODkyNXVuZw==",
"AGENT_USE": "true",
"AGENT_PATH": "/pinpoint-agent"
},
"healthChecks": [
{
"gracePeriodSeconds": 300,
"ignoreHttp1xx": false,
"intervalSeconds": 60,
"maxConsecutiveFailures": 3,
"path": "/health",
"portIndex": 0,
"protocol": "HTTP",
"timeoutSeconds": 20,
"delaySeconds": 15
}
],
"labels": {
"HAPROXY_GROUP": "external,internal",
"HAPROXY_0_VHOST": "metering.pas-mini.io"
},
"networks": [
{
"mode": "container/bridge"
}
],
"portDefinitions": []
}