-
Notifications
You must be signed in to change notification settings - Fork 1
/
taskdef.json
59 lines (59 loc) · 1.75 KB
/
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
{
"executionRoleArn": "arn:aws:iam::887664210442:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"portMappings": [
{
"hostPort": 3000,
"protocol": "tcp",
"containerPort": 3000
}
],
"image": "<IMAGE_NAME>",
"essential": true,
"name": "paas-microservice",
"secrets": [
{
"valueFrom": "arn:aws:secretsmanager:us-east-1:887664210442:secret:DB_CREDENTIALS-7jHeOp:engine::",
"name": "DB_NAME"
},
{
"valueFrom": "arn:aws:secretsmanager:us-east-1:887664210442:secret:DB_CREDENTIALS-7jHeOp:host::",
"name": "DB_HOST"
},
{
"valueFrom": "arn:aws:secretsmanager:us-east-1:887664210442:secret:DB_CREDENTIALS-7jHeOp:port::",
"name": "DB_PORT"
},
{
"valueFrom": "arn:aws:secretsmanager:us-east-1:887664210442:secret:DB_CREDENTIALS-7jHeOp:username::",
"name": "DB_USERNAME"
},
{
"valueFrom": "arn:aws:secretsmanager:us-east-1:887664210442:secret:DB_CREDENTIALS-7jHeOp:password::",
"name": "DB_PASSWORD"
},
{
"valueFrom": "arn:aws:secretsmanager:us-east-1:887664210442:secret:NEWRELIC-D1ZTC2:NEW_RELIC_LICENSE_KEY::",
"name": "NEW_RELIC_LICENSE_KEY"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/paas-microservice",
"awslogs-region": "us-east-1",
"awslogs-create-group": "true",
"awslogs-stream-prefix": "ecs"
}
}
}
],
"requiresCompatibilities": [
"FARGATE"
],
"networkMode": "awsvpc",
"cpu": "256",
"memory": "512",
"family": "Task-paas-microservice"
}