-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtask-def-ec2.json
88 lines (88 loc) · 2.65 KB
/
task-def-ec2.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
78
79
80
81
82
83
84
85
86
87
88
{
"ipcMode": null,
"executionRoleArn": "arn:aws:iam::697484174332:role/mysfits-ecsServiceRole-eu-west-1",
"containerDefinitions": [
{
"dnsSearchDomains": [],
"environmentFiles": null,
"logConfiguration": {
"logDriver": "awslogs",
"secretOptions": null,
"options": {
"awslogs-group": "mysfits-loggroup-eu-west-1",
"awslogs-region": "eu-west-1",
"awslogs-stream-prefix": "awslogs-mythicalmysfits-service"
}
},
"entryPoint": [],
"portMappings": [
{
"hostPort": 8080,
"protocol": "tcp",
"containerPort": 8080
}
],
"command": [],
"linuxParameters": null,
"cpu": 0,
"environment": [
{
"name": "UPSTREAM_URL",
"value": "mysfits-alb-747943350.eu-west-1.elb.amazonaws.com"
},
{
"name": "DDB_TABLE_NAME",
"value": "mysfits-table-eu-west-1"
}
],
"resourceRequirements": null,
"ulimits": null,
"dnsServers": [],
"mountPoints": [],
"workingDirectory": null,
"secrets": null,
"dockerSecurityOptions": [],
"memory": null,
"memoryReservation": null,
"volumesFrom": [],
"stopTimeout": null,
"image": "697484174332.dkr.ecr.eu-west-1.amazonaws.com/mysfits-monolith:latest",
"startTimeout": null,
"firelensConfiguration": null,
"dependsOn": null,
"disableNetworking": null,
"interactive": null,
"healthCheck": {
"retries": 3,
"command": [ "CMD", "python", "healthcheck.py" ],
"timeout": 5,
"interval": 30
},
"essential": true,
"links": [],
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": {},
"systemControls": [],
"privileged": null,
"name": "monolith-service"
}
],
"memory": "2048",
"taskRoleArn": "arn:aws:iam::697484174332:role/mysfits-ecsTaskRole-eu-west-1",
"family": "mysfits-monolith-test",
"pidMode": null,
"requiresCompatibilities": [
"EC2"
],
"networkMode": "awsvpc",
"cpu": "1024",
"inferenceAccelerators": [],
"proxyConfiguration": null,
"volumes": [],
"placementConstraints": [],
"tags": []
}