Sign inSign up

gumi/aws-dynamodb-local

By gumi

•Updated about 5 years ago

Add an entry point from deangiberson/aws-dynamodb-local.

Image
1

10K+

gumi/aws-dynamodb-local repository overview

Write initialize commands in initdb.d/run.sh:

#!/bin/bash
aws dynamodb create-table \
  --table-name MusicCollection \
  --attribute-definitions \
    AttributeName=Artist,AttributeType=S \
    AttributeName=SongTitle,AttributeType=S \
  --key-schema \
    AttributeName=Artist,KeyType=HASH \
    AttributeName=SongTitle,KeyType=RANGE \
  --provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5

And then, run below command.

docker run -d --name dynamodb -v `pwd`/initdb.d:/docker-entrypoint-initdb.d gumi/aws-dynamodb-local

TAG Information

21.7.30 has the -sharedDb option in order to connect NoSQL Workbench locally. (aws.java.sdk.version=1.12.0)

Tag summary

Content type

Image

Digest

Size

175.3 MB

Last updated

over 6 years ago

docker pull gumi/aws-dynamodb-local