Skip to content

Instantly share code, notes, and snippets.

@gaspanik
Created September 18, 2015 06:49
Show Gist options
  • Save gaspanik/ffaee03be3dd2c23d01c to your computer and use it in GitHub Desktop.
Save gaspanik/ffaee03be3dd2c23d01c to your computer and use it in GitHub Desktop.
mup.json with ssh_agent
{
// Server authentication info
"servers": [
{
"host": "hostname",
"username": "root"
// "password": "password"
// or pem file (ssh based authentication)
//"pem": "~/.ssh/id_rsa"
}
],
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": true,
// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
"setupNode": true,
// WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number.
"nodeVersion": "0.10.36",
// Install PhantomJS in the server
"setupPhantom": true,
// Show a progress bar during the upload of the bundle to the server.
// Might cause an error in some rare cases if set to true, for instance in Shippable CI
"enableUploadProgressBar": true,
// Application name (No spaces)
"appName": "meteor",
// Location of app (local directory)
"app": "/path/to/the/app",
// Configure environment
"env": {
"ROOT_URL": "http://myapp.com"
},
// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
"deployCheckWaitTime": 15
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment