2fas-server/deployments/pass/taskdef.json

41 lines
900 B
JSON
Raw Normal View History

2024-01-03 17:15:03 +01:00
{
"executionRoleArn": "arn:aws:iam::<AWS_ACCOUNT_ID>:role/2fas-pass_ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "2fas-pass",
"image": "<IMAGE_NAME>",
"essential": true,
"portMappings": [
{
"hostPort": 8082,
"protocol": "tcp",
"containerPort": 8082
}
],
"environmentFiles": [
{
"value": "arn:aws:s3:::2fas-production-env/pass.env",
"type": "s3"
}
],
"secrets": [
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group" : "/ecs/2fas-pass",
"awslogs-region": "us-east-2",
"awslogs-stream-prefix": "ecs"
}
}
}
],
"requiresCompatibilities": [
"FARGATE"
],
"networkMode": "awsvpc",
2024-01-25 19:20:09 +01:00
"family": "2fas-pass",
2024-01-03 17:15:03 +01:00
"cpu": "256",
"memory": "512"
}