add: Docker recipe

parent 8972fa20
FROM library/mongo:latest
COPY ./bootstrap.js /docker-entrypoint-initdb.d/
\ No newline at end of file
db = db.getSiblingDB('admin');
db.createUser({ user: 'openmole', pwd: 'rocks', roles: ["readWrite" ] });
db = db.getSiblingDB('openmole');
db.test.save({a:"b"});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment