Skip to content

Instantly share code, notes, and snippets.

@syntaqx
Last active February 14, 2024 20:58
Show Gist options
  • Save syntaqx/6dfca05ae8fbe5d2252607a119e1c3e4 to your computer and use it in GitHub Desktop.
Save syntaqx/6dfca05ae8fbe5d2252607a119e1c3e4 to your computer and use it in GitHub Desktop.
DynamoDB Locally
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