54 lines
1.2 KiB
JSON
Executable File
54 lines
1.2 KiB
JSON
Executable File
{
|
|
"family": "personal-website",
|
|
"containerDefinitions": [
|
|
{
|
|
"name": "web",
|
|
"image": "949678216675.dkr.ecr.eu-west-1.amazonaws.com/stan/personal-website",
|
|
"cpu": 0,
|
|
"portMappings": [
|
|
{
|
|
"containerPort": 3000,
|
|
"hostPort": 3000,
|
|
"protocol": "tcp"
|
|
}
|
|
],
|
|
"essential": true,
|
|
"environment": [
|
|
{
|
|
"name": "ORIGIN",
|
|
"value": "https://stanrunge.dev"
|
|
}
|
|
],
|
|
"mountPoints": [],
|
|
"volumesFrom": [],
|
|
"secrets": [
|
|
{
|
|
"name": "DB_URL",
|
|
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:DB_URL-NmGgN8:DB_URL::"
|
|
},
|
|
{
|
|
"name": "AUTH_TOKEN",
|
|
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:personal-website/auth-token-odxL2n:PERSONAL_TOKEN::"
|
|
}
|
|
],
|
|
"logConfiguration": {
|
|
"logDriver": "awslogs",
|
|
"options": {
|
|
"awslogs-group": "/ecs/personal-website",
|
|
"awslogs-region": "eu-west-1",
|
|
"awslogs-stream-prefix": "ecs"
|
|
}
|
|
},
|
|
"systemControls": []
|
|
}
|
|
],
|
|
"executionRoleArn": "arn:aws:iam::949678216675:role/ecsTaskExecutionRole",
|
|
"networkMode": "awsvpc",
|
|
"volumes": [],
|
|
"placementConstraints": [],
|
|
"requiresCompatibilities": [
|
|
"FARGATE"
|
|
],
|
|
"cpu": "256",
|
|
"memory": "512"
|
|
} |