Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
vxcall committed Sep 1, 2024
1 parent 1de95f4 commit d3699f0
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,24 @@ docker compose logs -f

```Shell
docker compose down
```
```

# What we did to manually push container to ECR

only first try.

```Shell
aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.ap-northeast-1.amazonaws.com
```

```Shell
docker buildx build --platform linux/amd64 -t subscription_app .

docker images # check IMAGE ID of image you built before

docker tag IMAGE_ID $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/artizans/webserver

docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/artizans/webserver
```

Also we created new security group that allow all inbound access, and attach it to fargate. like 0.0.0.0/0 thing

0 comments on commit d3699f0

Please sign in to comment.