Last active
December 21, 2020 19:41
-
-
Save seansullivan/e2d823151516744658fa9dad5be7525f to your computer and use it in GitHub Desktop.
Docker Composer Persist Local Dynamo
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
version: "1" | |
services: | |
dynamodb_local: | |
container_name: "dynamodb_local" | |
image: "amazon/dynamodb-local:latest" | |
ports: | |
- "8000:8000" | |
command: | |
["-jar", "DynamoDBLocal.jar", "-sharedDb", "-dbPath", /tmp/dynamolocal] | |
volumes: | |
- /Users/seansullivan/dynamolocal/data:/tmp/dynamolocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment