cnadiminti / docker-dynamodb-local Goto Github PK
View Code? Open in Web Editor NEWDocker image for Amazon DynamoDB Local
Home Page: https://hub.docker.com/r/cnadiminti/dynamodb-local/
License: MIT License
Docker image for Amazon DynamoDB Local
Home Page: https://hub.docker.com/r/cnadiminti/dynamodb-local/
License: MIT License
This is more for informational purposes for others, but there was a recent breaking change here that I don't think was intended to be a breaking change. For consumers of this image that use docker run's --publish-all/-P
option, port 8000 is no longer published with the latest changes. The port has to be explicitly published now, instead of relying on the default EXPOSE port.
Currently after just a few interactions with local DynamoDB its java process' memory usage becomes ~2GiB. It looks like a serious waste of memory for a SQLite wrapper. There are two options:
-Xmx256m
works fineHello,
I am trying to create a docker container to run local python tests.
The code is used to test functionality that depends on MYSQL, Redis and DynamoDB
This is my docker-compose file.
version: '3'
services:
app:
build: .
environment:
- DATABASE_HOST=database
- DATABASE_USERNAME=foo
- DATABASE_PASSWORD=bar
- CACHE_HOST=cache
- BUGSNAG_API_KEY=key
- DYNAMODB_URL='http://localhost:8000/'
depends_on:
- database
- cache
- dynamoDB
database:
image: "mariadb:10.0.24"
environment:
- MYSQL_DATABASE=database
- MYSQL_USER=foo
- MYSQL_PASSWORD=bar
- MYSQL_ROOT_PASSWORD=bar
cache:
image: "redis:3.2"
dynamoDB:
image: cnadiminti/dynamodb-local:latest
command: -inMemory
ports:
- '8000:8000'
I am keeping on Getting Connection refused with the following error message
`DEBUG:botocore.auth:CanonicalRequest:
POST
/
content-type:application/x-amz-json-1.0
host:localhost:8000
x-amz-date:20171023T005945Z
x-amz-target:DynamoDB_20120810.CreateTable
content-type;host;x-amz-date;x-amz-target
09548050458cafc204a942a4de3da965dcadfa2e320004b6727fc7f8cb86cb93
DEBUG:botocore.auth:StringToSign:
AWS4-HMAC-SHA256
20171023T005945Z
20171023/ap-southeast-2/dynamodb/aws4_request
679032bcc6577cddc2eceb7175969a905fd94b15220fe83eb3da2c24839938c7
DEBUG:botocore.auth:Signature:
aa01cbb5a15840e8dae2ba425b065f60f48db5251919641ff03510f52a5467b8
DEBUG:botocore.endpoint:Sending http request: <PreparedRequest [POST]>
INFO:botocore.vendored.requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost
DEBUG:botocore.endpoint:ConnectionError received when sending HTTP request.
`
The downloaded tar files should be checked against the corresponding sha256 checksum provided by Amazon here: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html
It should be enough to download the sha256 file and verify on build before extraction.
2020-01-24 (2019-02-07/Dockerfile) tag is still on 2019.
/docker-entrypoint.sh
is missing the eXecute permission
Could you expose an environment variable whereby we can indicate that we want inMemory only?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.