DEPRECATED: Images are not maintained and not regularly updated anymore.
https://gitlab.com/tozd/docker/meteor-mongodb
Available as:
tozd/base ← tozd/dinit ← tozd/mongodb ← tozd/meteor-mongodb
2.4: MongoDB 2.42.6: MongoDB 2.63.2: MongoDB 3.23.4: MongoDB 3.43.6: MongoDB 3.64.0: MongoDB 4.04.2: MongoDB 4.24.4: MongoDB 4.45.0: MongoDB 5.06.0: MongoDB 6.0
MONGODB_ADMIN_PWD: Password foradminaccount the container creates on the first startup.MONGODB_CREATE_PWD: Password formeteoraccount the container creates on the first startup.MONGODB_OPLOGGER_PWD: Password foroploggeraccount the container creates on the first startup.
Image extending tozd/mongodb image to use it with tozd/meteor based images.
Different Docker tags provide different MongoDB versions.
The intended use of this image is that it is run alongside the tozd/meteor based image.
You should volume mount the same run.config configuration file into both Meteor app container
and the container from this image. The container on the first startup automatically creates
the database and accounts with provided passwords, and creates a simple replica set with oplog.
Example of a /etc/service/mongod/run.config file:
MONGODB_ADMIN_PWD='<pass>'
MONGODB_CREATE_PWD='<pass>'
MONGODB_OPLOGGER_PWD='<pass>'
export MONGO_URL="mongodb://meteor:${MONGODB_CREATE_PWD}@mongodb/meteor"
export MONGO_OPLOG_URL="mongodb://oplogger:${MONGODB_OPLOGGER_PWD}@mongodb/local?authSource=admin"The export lines are not necessary for this image, but are used by tozd/meteor based images.
There is also a read-only GitHub mirror available, if you need to fork the project there.