Created
May 24, 2018 15:14
-
-
Save bkozora/50bb98216737c6540cfc530b0d6296aa to your computer and use it in GitHub Desktop.
Launches a Docker container for local DynamoDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
# yanked from https://github.com/dwmkerr/docker-dynamodb | |
## | |
LOCAL_DATA_VOLUME=/private/var/dynamoDB | |
CONTAINER_DATA_VOLUME=/data | |
LOCAL_PORT=8000 | |
CONTAINER_PORT=8000 | |
docker run -d -v $LOCAL_DATA_VOLUME:$CONTAINER_DATA_VOLUME -p $LOCAL_PORT:$CONTAINER_PORT dwmkerr/dynamodb -dbPath $CONTAINER_DATA_VOLUME -sharedDb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment