Skip to content

Commit f3297cf

Browse files
committed
feat: change deploy to aws ecs
1 parent 790e0dd commit f3297cf

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

ecs-taskdef.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,17 @@
99
"containerDefinitions": [
1010
{
1111
"name": "web",
12-
"image": "REPLACED_BY_ACTION",
12+
"image": "ACCOUNT_ID.dkr.ecr.REGION.amazonaws.com/MY_ECR_REPOSITORY:latest",
1313
"essential": true,
14-
"portMappings": [
15-
{ "containerPort": 3000, "protocol": "tcp" }
16-
],
14+
"portMappings": [{ "containerPort": 3000, "protocol": "tcp" }],
1715
"logConfiguration": {
1816
"logDriver": "awslogs",
1917
"options": {
2018
"awslogs-group": "/ecs/my-app",
21-
"awslogs-region": "us-east-1",
19+
"awslogs-region": "REGION",
2220
"awslogs-stream-prefix": "ecs"
2321
}
24-
},
25-
"environment": [
26-
{ "name": "NODE_ENV", "value": "production" }
27-
]
22+
}
2823
}
2924
]
3025
}

0 commit comments

Comments
 (0)