-
Notifications
You must be signed in to change notification settings - Fork 56
/
task-definition.json
44 lines (44 loc) · 1018 Bytes
/
task-definition.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
{
"containerDefinitions": [
{
"name": "container-name",
"image": "nginx:latest",
"cpu": 512,
"memory": 1024,
"portMappings": [
{
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp"
}
],
"essential": true,
"environment": [],
"environmentFiles": [
{
"value": "arn:aws:s3:::credent-bucket/go-prod.env",
"type": "s3"
}
],
"mountPoints": [],
"volumesFrom": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/api-go",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "ecs"
}
}
}
],
"family": "api-go-TD",
"executionRoleArn": "arn:aws:iam::366354050833:role/ecsServiceRole",
"networkMode": "awsvpc",
"volumes": [],
"placementConstraints": [],
"cpu": "512",
"memory": "1024",
"tags": []
}