-
Notifications
You must be signed in to change notification settings - Fork 12
/
develop-taskdef.json
89 lines (89 loc) · 1.95 KB
/
develop-taskdef.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
89
{
"containerDefinitions": [
{
"name": "log_router",
"image": "grafana/fluent-bit-plugin-loki:2.9.1",
"cpu": 0,
"memoryReservation": 50,
"portMappings": [],
"essential": true,
"environment": [],
"mountPoints": [],
"volumesFrom": [],
"user": "0",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "firelens-container",
"awslogs-region": "eu-west-1",
"awslogs-stream-prefix": "firelens"
}
},
"systemControls": [],
"firelensConfiguration": {
"type": "fluentbit",
"options": {
"enable-ecs-log-metadata": "true"
}
}
},
{
"name": "tooling-dev-devs-app",
"image": "654654630007.dkr.ecr.eu-west-1.amazonaws.com/devs-ecr",
"cpu": 0,
"portMappings": [
{
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp"
}
],
"essential": true,
"command": null,
"environment": [
{
"name": "ENVIRONMENT",
"value": "dev"
}
],
"mountPoints": [],
"volumesFrom": [],
"logConfiguration": {
"logDriver": "awsfirelens",
"options": {
"LabelKeys": "container_name,ecs_task_definition,source,ecs_cluster",
"Labels": "{job=\"firelens\"}",
"LineFormat": "key_value",
"Name": "grafana-loki",
"RemoveKeys": "container_id,ecs_task_arn",
"TenantID": "dev",
"Url": "http://52.31.211.156:3100/loki/api/v1/push"
}
},
"systemControls": []
}
],
"requiresCompatibilities": [
"FARGATE"
],
"compatibilities": [
"EC2",
"FARGATE"
],
"inferenceAccelerators": [],
"volumes": [],
"networkMode": "awsvpc",
"memory": "2048",
"cpu": "1024",
"executionRoleArn": "arn:aws:iam::654654630007:role/tooling-dev-task-execution-role",
"family": "devs",
"taskRoleArn": "arn:aws:iam::654654630007:role/tooling-dev-task-execution-role",
"runtimePlatform": {
"operatingSystemFamily": "LINUX"
},
"tags": [{
"key": "Environment",
"value": "dev"
}]
}