DynamoDB facade web service for boltDB (embeddable pure-go database
Go to file
Emil Lerch c31138d367
continuous-integration/drone/push Build is passing Details
add docker instructions to readme
2021-01-05 23:27:06 -08:00
build vendor dependencies 2020-11-30 18:16:25 -08:00
vendor vendor dependencies 2020-11-30 18:16:25 -08:00
.drone.yml location should now be in path by server config 2021-01-04 16:03:21 -08:00
.gitignore vendor dependencies 2020-11-30 18:16:25 -08:00
Dockerfile.in add Makefile based on https://github.com/thockin/go-build-template 2020-11-17 17:02:19 -08:00
LICENSE license 2020-11-13 16:19:54 -08:00
Makefile use $UID/$GID for test as well 2021-01-04 16:04:20 -08:00
README.md add docker instructions to readme 2021-01-05 23:27:06 -08:00
ddbbolt.go initial implementation 2020-11-16 16:42:34 -08:00
go.mod initial implementation 2020-11-16 16:42:34 -08:00
go.sum add Makefile based on https://github.com/thockin/go-build-template 2020-11-17 17:02:19 -08:00

README.md

DynamoDB Bolt

This project presents itself as Amazon DynamoDB, but uses Bolt for data storage. It currently only supports a handful of operations, and even then not with full fidelity:

  • CreateTable
  • BatchGetItem
  • BatchWriteItem

UpdateItem, PutItem and GetItem should be trivial to implement.

It's designed for those times you want DynamoDB Local, but don't want a full Java VM, etc. On small data sets, this static executable executable will use <10MB of resident memory.

Running as Docker

Latest version can be found at https://r.lerch.org/repo/ddbbolt/tags/. Versions are tagged with the short hash of the git commit, and are built as a multi-architecture image based on a scratch image.

You can run the docker image with a command like:

docker run \
  --volume=$(pwd)/ddbbolt:/data \
  -e FILE=/data/ddb.db          \
  -e PORT=8080                  \
  -p 8080:8080                  \
  -d                            \
  --name=ddbbolt                \
  --restart=unless-stopped      \
  r.lerch.org/ddbbolt:f501abe