Docker image with node 8 and mongodb 3.6 to run as kubernetes pod
10K+
provendb-tests
Jest-based tests for provendb proxy
Build steps for Docker Images
node-mongodbdocker build -t southbanksoftware/node-mongodb:latest docker/node-mongodb --build-arg auth=<username>:<password or github token>docker login and docker push southbanksoftware/node-mongodb:latestyarn (brew install yarn) and node (brew install node)yarn installyarn test if your proxy and mongodb are running on localhost with default portsPROVENDB_URI URI for the proxy
PROVENDB_NODEOPTIONS Any additional options for node driver connection
PROVENDB_AUTH true if proxy authentication is enabled
PROVENDB_DB Database used by the proxy
MONGOADMIN_URI URI that connects with admin privilegs (to atlas for instance )
PROVENDB_SSLCERT SSL certificate file used by the proxy
export ATLAS_GCP="mongodb+srv://guytest:[email protected]/guytest" export MONGODB_URI=$ATLAS_GCP export PROVENDB_URI=mongodb://guytest:guytest@localhost:27018/guytest?ssl=true export PROVENDB_NODEOPTIONS='{"sslValidate":false,"useNewUrlParser": true}' export PROVENDB_AUTH=true export PROVENDB_DB=guytest export MONGOADMIN_URI="mongodb+srv://admin:[email protected]/test" export PROVENDB_SSLCERT=~/git/provendb-tests/certificate.p12
Content type
Image
Digest
Size
930 MB
Last updated
about 7 years ago
docker pull southbanksoftware/node-mongodb