Skip to content

Instantly share code, notes, and snippets.

@saaj
Created April 26, 2020 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saaj/1cf9a45ca2c9ca724839421abf2959b4 to your computer and use it in GitHub Desktop.
Save saaj/1cf9a45ca2c9ca724839421abf2959b4 to your computer and use it in GitHub Desktop.
Local DynamoDB and simplistic administrative UI
# first run `git clone https://github.com/aaronshaf/dynamodb-admin.git`
admin:
build: dynamodb-admin
links:
- ddb
environment:
- AWS_ACCESS_KEY_ID=foo
- AWS_SECRET_ACCESS_KEY=bar
- DYNAMO_ENDPOINT=http://ddb:8000
ports:
- 8080:8001
ddb:
image: cnadiminti/dynamodb-local
environment:
- JAVA_OPTS=-Xmx256m
ports:
- 8000:8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment