Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 624 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 624 Bytes

Docker Compose Context ECS

An example of how to quickly deploy docker containers to ECS

Configura

To set env vars for the current active workspace

export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export AWS_DEFAULT_REGION=us-east-1

To persist after each gitpod workspace

gp env AWS_ACCESS_KEY_ID=
gp env AWS_SECRET_ACCESS_KEY=
gp env AWS_DEFAULT_REGION=us-east-1

Deploy

docker context create ecs myecscontext
docker-compose up

References

https://docs.docker.com/cloud/ecs-integration/ docker/docs#11949 https://github.com/aws/amazon-ecs-cli