Skip to content

Commit 9bc4137

Browse files
authored
docs: Fix docker-compose instructions (#632)
1 parent 75957a8 commit 9bc4137

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,15 @@ Change directory to the Docker Compose deploy directory:
7777
cd dist/docker-compose
7878
```
7979

80+
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):
81+
```
82+
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
83+
```
84+
8085
Use `docker compose` to run the application containers:
8186

8287
```
83-
MYSQL_PASSWORD='<some password>' docker compose --file dist/docker-compose/docker-compose.yml up
88+
MYSQL_PASSWORD='<some password>' docker compose --file docker-compose.yml up
8489
```
8590

8691
Open the frontend in a browser window:
@@ -92,7 +97,7 @@ http://localhost:8888
9297
To stop the containers in `docker compose` use Ctrl+C. To delete all the containers and related resources run:
9398

9499
```
95-
docker compose -f dist/docker-compose/docker-compose.yml down
100+
docker compose -f docker-compose.yml down
96101
```
97102

98103
## Security

0 commit comments

Comments
 (0)