Skip to content

Instantly share code, notes, and snippets.

@guidouil
Created June 20, 2018 18:21
Show Gist options
  • Save guidouil/4b4a2338e1424fbfd7b5c632ab38dafa to your computer and use it in GitHub Desktop.
Save guidouil/4b4a2338e1424fbfd7b5c632ab38dafa to your computer and use it in GitHub Desktop.
module.exports = {
servers: {
one: {
// TODO: set host address, username, and authentication method
host: '51.68.45.76',
username: '',
// pem: './path/to/pem'
password: ''
// or neither for authenticate from ssh-agent
}
},
app: {
// TODO: change app name and path
name: 'Snakes',
path: '../',
servers: {
one: {},
},
buildOptions: {
serverOnly: true,
},
env: {
// TODO: Change to your app's url
// If you are using ssl, it needs to start with https://
ROOT_URL: 'http://snks.tk',
MONGO_URL: 'mongodb://mongodb/meteor',
MONGO_OPLOG_URL: 'mongodb://mongodb/local',
},
docker: {
// change to 'abernix/meteord:base' if your app is using Meteor 1.4 - 1.5
image: 'abernix/meteord:node-8-base',
},
// Show progress bar while uploading bundle to server
// You might need to disable it on CI servers
enableUploadProgressBar: true
},
mongo: {
version: '3.6.4',
servers: {
one: {}
}
},
// (Optional)
// Use the proxy to setup ssl or to route requests to the correct
// app when there are several apps
// proxy: {
// domains: 'snks.tk',
// ssl: {
// // Enable Let's Encrypt
// letsEncryptEmail: 'guidouil@gmail.com',
// forceSSL: true
// }
// }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment