Skip to content

Instantly share code, notes, and snippets.

@arunoda
Created February 4, 2015 07:35
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save arunoda/65ceb06952957e976e76 to your computer and use it in GitHub Desktop.
{
// Server authentication info
"servers": [
{
"host": "ip-1",
"username": "root",
"pem": "./bulletproofdo"
},
{
"host": "ip-2",
"username": "root",
"pem": "./bulletproofdo"
},
{
"host": "ip-3",
"username": "root",
"pem": "./bulletproofdo"
},
{
"host": "ip-4",
"username": "root",
"pem": "./bulletproofdo"
}
],
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": false,
// 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.33 by default. Do not use v, only version number.
"nodeVersion": "0.10.33",
// Install PhantomJS in the server
"setupPhantom": true,
// Application name (No spaces)
"appName": "meteor",
// Location of app (local directory)
"app": "../",
// Configure environment
"env": {
"ROOT_URL": "https://bulletproofmeteor.com",
"MONGO_URL": "mongodb://app:password@mongodb.com/dbname",
"MONGO_OPLOG_URL": "mongodb://app:password@mongodb.com/local",
"DISABLE_WEBSOCKETS": "1",
"CLUSTER_DISCOVERY_URL": "mongodb://app:password@mongodb.com/dbname",
"CLUSTER_SERVICE": "web"
},
// 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
}
@tonyaom
Copy link

tonyaom commented Jun 5, 2015

You mentioned CLUSTER_ENDPOINT_URL in this article but it is not in the mup.json above
https://meteorhacks.com/cluster-a-different-kind-of-load-balancer-for-meteor

By any chance you could explain more about it? Thank you

My bad, I found the answer in the article
"With this, you don’t need to configure CLUSTER_ENDPOINT_URL. Meteor up set it automatically"

@piyushmahensaria
Copy link

What does the line "DISABLE_WEBSOCKETS": "1" do? Does meteor app not work on Sockets when using the package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment