Last active
October 12, 2024 08:33
-
-
Save cmackenzie1/92e0c3628da6842f0e9ffeca8abbe170 to your computer and use it in GitHub Desktop.
Docker Compose for DynamoDB Local and Admin UI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
dynamodb-local: | |
image: amazon/dynamodb-local:latest | |
container_name: dynamodb-local | |
ports: | |
- "8000:8000" | |
dynamodb-admin: | |
image: aaronshaf/dynamodb-admin | |
ports: | |
- "8001:8001" | |
environment: | |
DYNAMO_ENDPOINT: "http://dynamodb-local:8000" | |
AWS_REGION: "us-west-2" | |
AWS_ACCESS_KEY_ID: local | |
AWS_SECRET_ACCESS_KEY: local | |
depends_on: | |
- dynamodb-local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was unable to see tables created by different scripts until I enabled
sharedDb
mode.Note the
command
property...