The recommended way to deploy Vulcan is by using Meteor Up.
You should have a Linux server online, for instance a Digital Ocean droplet running with Ubuntu.
On your local development machine, install globally the latest
npm install -g mup
Create Meteor Up configuration files in your project directory with
mup init. In the example below, the configuration files are created in a
.deploy directory at the root of your app.
This will create two files :
mup.js - Meteor Up configuration file
Then, replace the content of the newly created
settings.json with your own settings (you can use the content of
sample_settings.json as a starter).
mup.js with your credentials and optional settings (check the Mup repo for additional docs).
ROOT_URL field should be the absolute url of your deploy ; and you need to explicitly point out to use
abernix/meteord:base docker image with a
docker field within the
You can take inspiration (or copy/paste) on this
From this folder, you can now setup Docker & Mongo your server with:
Still in the same folder, to deploy your app with your settings file:
mup deploy --settings settings.json
meteor npm install --save bcrypt.
Contributed by adalidda.
Deploy Vulcan GraphQL/Apollo version with PM2
On Ubuntu 14 or better.
Run the following command
sudo apt-get update
Check that node 4.7.3 is your default node version, with the command
sudo npm i -g pm2
Check that your PM2 is working with the following commands:
pm2 list=> list the process under PM2
pm2 -v=> list PM2 version
sudo apt-get install nginx
Note: I suggest to use the docker version of nginx
npm i pm2-meteor -g
Type the following command to init the default deployment file:
pm2-meteor will then create a file
pm2-meteor.json with your own parameters.
Below is my pm2-meteor.json given as reference.
You note that I use the
nvm command in my
pm2-meteor.json, because without using the nvm command, pm2 will use Node version on your server that may be not compatible with the one required by Vulcan GraphQL/Apollo (which is node version 4.7.0 or 4.7.3) and in this case pm2 will generate high use of your CPU around 100% !
Type the following command
Type the following command to check the status of your app on the server
To Stop your App, type
pm2 stop myappname
To restart your App, type
pm2 restart myappname
To delete your App, type
pm2 delete myappname