Skip to content

Instantly share code, notes, and snippets.

@a4amaan
Forked from cmackenzie1/docker-compose.yml
Created January 20, 2024 09:58
Show Gist options
  • Save a4amaan/fca88294abdd584b1ff33abcb02d4a72 to your computer and use it in GitHub Desktop.
Save a4amaan/fca88294abdd584b1ff33abcb02d4a72 to your computer and use it in GitHub Desktop.
Docker Compose for DynamoDB Local and Admin UI
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