-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs-task-definition.json
46 lines (46 loc) · 1.24 KB
/
ecs-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
45
46
{
"family": "examcram-task-family",
"networkMode": "awsvpc",
"containerDefinitions": [
{
"name": "examcram-backend",
"image": "500532294210.dkr.ecr.us-east-1.amazonaws.com/examcram/backend:latest",
"essential": true,
"portMappings": [
{
"containerPort": 8080,
"hostPort": 8080
}
],
"memory": 512,
"cpu": 256,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/examcram-backend",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
},
"secrets": [
{
"name": "OPENAI_API_KEY",
"valueFrom": "arn:aws:secretsmanager:us-east-1:500532294210:secret:examcram/openai/api-key-kUfllr"
}
],
"environment": [
{
"name": "ENV",
"value": "production"
}
]
}
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "256",
"memory": "512",
"executionRoleArn": "arn:aws:iam::500532294210:role/ecsTaskExecutionRole",
"taskRoleArn": "arn:aws:iam::500532294210:role/ecsTaskExecutionRole"
}