-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtask.json
66 lines (66 loc) · 1.43 KB
/
task.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
{
"containerDefinitions": [
{
"volumesFrom": [],
"memory": 5120,
"extraHosts": null,
"dnsServers": null,
"disableNetworking": null,
"dnsSearchDomains": null,
"portMappings": [
{
"hostPort": 9200,
"containerPort": 9200,
"protocol": "tcp"
},
{
"hostPort": 9300,
"containerPort": 9300,
"protocol": "tcp"
}
],
"hostname": null,
"essential": true,
"entryPoint": null,
"mountPoints": [
{
"containerPath": "/usr/share/elasticsearch/data",
"sourceVolume": "vol00",
"readOnly": null
}
],
"name": "elasticsearch",
"ulimits": null,
"dockerSecurityOptions": null,
"environment": [
{
"name": "ES_HEAP_SIZE",
"value": "4g"
}
],
"links": null,
"workingDirectory": null,
"readonlyRootFilesystem": null,
"image": "7thsense/elasticsearch-ecs:latest",
"command": [
"/docker-entrypoint.sh",
"--discovery.type=ec2",
"--discovery.ec2.groups=sg-XXXXXXX"
],
"user": null,
"dockerLabels": null,
"logConfiguration": null,
"cpu": 1024,
"privileged": null
}
],
"volumes": [
{
"host": {
"sourcePath": "/var/data/vol00"
},
"name": "vol00"
}
],
"family": "elasticsearch"
}