-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtask-definition.json
37 lines (37 loc) · 1.08 KB
/
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
{
"executionRoleArn": "AWS_EXECUTION_ROLE",
"containerDefinitions": [
{
"name": "atoti-session",
"essential": true,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/atoti-project-template",
"awslogs-region": "AWS_REGION",
"awslogs-stream-prefix": "ecs"
}
},
"portMappings": [
{
"hostPort": 80,
"protocol": "tcp",
"containerPort": 80
}
],
"secrets": [
{
"name": "DATABASE_URL",
"valueFrom": "arn:aws:secretsmanager:AWS_REGION:AWS_ACCOUNT_ID:secret:atoti-project-template/AWS_DATABASE_URL_SECRET_NAME"
}
]
}
],
"family": "atoti-project-template",
"cpu": "1024",
"memory": "2048",
"requiresCompatibilities": [
"FARGATE"
],
"networkMode": "awsvpc"
}