From 9bc413766361547ebe57c6aff353ab6a846eff00 Mon Sep 17 00:00:00 2001 From: Sai Vennam Date: Mon, 28 Oct 2024 10:37:15 -0500 Subject: [PATCH] docs: Fix docker-compose instructions (#632) --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3e5a0114..6a8e954c6 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,15 @@ Change directory to the Docker Compose deploy directory: cd dist/docker-compose ``` +Log in to the public ECR registry by following the instructions on the [AWS ECR documentation](https://docs.aws.amazon.com/AmazonECR/latest/public/public-registry-auth.html#public-registry-auth-token): +``` +aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws +``` + Use `docker compose` to run the application containers: ``` -MYSQL_PASSWORD='' docker compose --file dist/docker-compose/docker-compose.yml up +MYSQL_PASSWORD='' docker compose --file docker-compose.yml up ``` Open the frontend in a browser window: @@ -92,7 +97,7 @@ http://localhost:8888 To stop the containers in `docker compose` use Ctrl+C. To delete all the containers and related resources run: ``` -docker compose -f dist/docker-compose/docker-compose.yml down +docker compose -f docker-compose.yml down ``` ## Security