/gist:65ceb06952957e976e76 Secret
Created
February 4, 2015 07:35
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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 | |
} |
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
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"