Last active
February 14, 2024 20:58
-
-
Save syntaqx/6dfca05ae8fbe5d2252607a119e1c3e4 to your computer and use it in GitHub Desktop.
DynamoDB Locally
This file contains hidden or 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
services: | |
app: | |
image: amazon/aws-cli | |
ports: | |
- "8080" | |
environment: | |
AWS_ACCESS_KEY_ID: 'DUMMYIDEXAMPLE' | |
AWS_SECRET_ACCESS_KEY: 'DUMMYEXAMPLEKEY' | |
AWS_DEFAULT_REGION: 'us-east-1' | |
command: | |
dynamodb describe-limits --endpoint-url http://dynamodb-local:8000 | |
depends_on: | |
- dynamodb-local | |
dynamodb-local: | |
image: amazon/dynamodb-local:latest | |
command: "-jar DynamoDBLocal.jar -sharedDb -dbPath ./data" | |
ports: | |
- "8000" | |
volumes: | |
- /home/dynamodblocal/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment