- Docker Docker installation
-
Once Docker is installed Run the following:
- Skip this step if you're doing a fresh installation
- Run
docker compose build --no-cache
- Run
- Command in root directory:
docker compose up
- Skip this step if you're doing a fresh installation
-
Visit http://localhost:3000 in your browser
-
Shutdown:
docker compose down
Working with Docker Compose causes some networking hurdles. For instance, connecting to the Dynamodb instance is usually done with http://localhost:8000
but within a docker compse you have to connect via the service name
http://dynamodb:8000
.
I Havent set up any environment variables to detect if this is running within docker compose or both containers running seperately on your local machine.
If you did want to run both containers seperately on you local machine you would have to change the Dynamo endpoint to http://localhost:8000
in order to connect.