Skip to content

Commit

Permalink
docs: Fix docker-compose instructions (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
svennam92 authored Oct 28, 2024
1 parent 75957a8 commit 9bc4137
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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='<some password>' docker compose --file dist/docker-compose/docker-compose.yml up
MYSQL_PASSWORD='<some password>' docker compose --file docker-compose.yml up
```

Open the frontend in a browser window:
Expand All @@ -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
Expand Down

0 comments on commit 9bc4137

Please sign in to comment.