59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"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"
|
|
},
|
|
{
|
|
"name": "DB_HOST",
|
|
"value": "vash-db.c0n0e8svjact.eu-west-1.rds.amazonaws.com"
|
|
}
|
|
],
|
|
"mountPoints": [],
|
|
"volumesFrom": [],
|
|
"secrets": [
|
|
{
|
|
"name": "DB_USER",
|
|
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:rds!db-16c19530-97ce-43c1-87fc-bb44ac8f77a3-9d5wca:username::"
|
|
},
|
|
{
|
|
"name": "DB_PASSWORD",
|
|
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:rds!db-16c19530-97ce-43c1-87fc-bb44ac8f77a3-9d5wca:password::"
|
|
}
|
|
],
|
|
"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"
|
|
}
|