38789-vm/infrastructure/ecs/task-definition.json
2026-02-22 02:27:05 -05:00

40 lines
809 B
JSON

{
"family": "pro-se-litigant-api",
"networkMode": "awsvpc",
"containerDefinitions": [
{
"name": "api",
"image": "REPLACE_WITH_IMAGE",
"cpu": 256,
"memory": 512,
"portMappings": [
{
"containerPort": 4000,
"hostPort": 4000,
"protocol": "tcp"
}
],
"essential": true,
"environment": [
{
"name": "NODE_ENV",
"value": "production"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/pro-se-litigant-api",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
}
}
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "256",
"memory": "512"
}