Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker image for easily deploying meteor, using fig.sh, passenger
Full Description

Docker-Passenger-Meteor

Docker Image for Meteor production and development. Using Meteor+Passenger+Fig, with a volume shared between the container and the host system.

Usage

Install Fig

Create Meteor app

  • Create a folder named webapp (meteor create webapp); then cd weapp.

Development Setup

  • Copy fig-dev.yml file to the current folder (insider webaap folder);
    wget https://raw.githubusercontent.com/zhouzhuojie/docker-passenger-meteor/master/fig-dev.yml
    
  • Remember to change the mongodb volume in the fig.yml file. /path/to/db:/data/db
  • fig -f fig-dev.yml up to start the services.

Production Setup

  • Copy fig.yml file to the current folder (insider webaap folder);
    wget https://raw.githubusercontent.com/zhouzhuojie/docker-passenger-meteor/master/fig.yml
    
  • Remember to change the mongodb volume in the fig.yml file. /path/to/db:/data/db
  • fig up to start the services.

Warning

  • The fig.sh will remove .meteor/local, which means the default development local mongodb will be reset. We highly recommend to use the mongodb docker image instead (both are integrated in the fig.yml and fig-dev.yml).

Credits

License

MIT

Docker Pull Command
Owner
zhouzhuojie

Comments (0)