hardyscc/aws-nestjs-starter

Add docker-compose.yml

tktwong opened this issue · 2 comments

version: '3'

services:
dynamodb:
image: amazon/dynamodb-local
hostname: dynamodb-local
container_name: dynamodb-local
ports:
- "8000:8000"
command: ["-jar", "DynamoDBLocal.jar", "-sharedDb", "-inMemory"]

@tktwong u should able to start it by

npm run ddb:start -- --sharedDB --inMemory  

Thanks!