Sign inSign up

zcloudws/meteor-node-mongodb-runtime

By zcloudws

Updated 7 days ago

Image
0

10K+

zcloudws/meteor-node-mongodb-runtime repository overview

Nodejs runtime from Meteor with MongoDB

This image uses nodejs, npm, npx and mongod extracted from Meteor dev bundle.

Running example

# Starting App with internal MongoDB
docker run --rm --name meteor-app -it \n  -v /DIR_WITH_BUNDLE_TAR:/bundle \n  -v /DIR_MONGO_DATA_WITH_WRITE_PERMISSION:/mongodb-data \n  --env USE_INTERNAL_MONGODB=true \n  --env ROOT_URL=http://localhost:3000 \n  --env PORT=3000 \n  -p 3000:3000 \n  -p 27018:27017 \n  zcloudws/meteor-node-mongodb-runtime:2.11.0

MongoDB

  • Internal MongoDB defult run on port 27017. use environment variable MONGODB_PORT to run on another port
  • To start internal MongoDB use environment variable USE_INTERNAL_MONGODB=true
  • To change default data directory use environment variable MONGODB_DATA_DIR=/mongodb-data
  • To pass extra arguments for mongod use environment variable MONGODB_EXTRA_ARGS
User information:
  • User: zcloud
  • Group: zcloud
  • UID: 65123
  • GID: 65123

by Quave

Tag summary

Content type

Image

Digest

sha256:3f9f7e747

Size

479.4 MB

Last updated

7 days ago

docker pull zcloudws/meteor-node-mongodb-runtime:3.5.2-with-tools-ffmpeg