module.exports = {
servers: {
one: {
// TODO: set host address, username, and authentication method
host: '1.2.3.4',
username: 'myusername',
// ... "%sudo ALL=(ALL) NOPASSWD:ALL"
password: "somepass",
// pem: './path/to/pem'
// or neither for authenticate from ssh-agent
}
},
app: {
// TODO: change app name and path
name: 'myapp',
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: 'https://mywebsite',
MONGO_URL: 'someurl',
MONGO_OPLOG_URL: 'someurl',
},
docker: {
image: 'zodern/meteor:root',
},
// Show progress bar while uploading bundle to server
// You might need to disable it on CI servers
enableUploadProgressBar: true
},
//--- Removing this because of the use of an external Mongo URL
// mongo: {
// version: '4.4.12',
// servers: {
// one: {}
// }
// },
// (Optional)
// Use the proxy to setup ssl or to route requests to the correct
// app when there are several apps
// proxy: {
// domains: 'mywebsite.com,www.mywebsite.com',
// ssl: {
// // Enable Let's Encrypt
// letsEncryptEmail: 'email@domain.com'
// }
// }
};
Note that I installed docker using the snapd tool, i.e. "snap install docker", so I'm not sure if there's any setting in mup that I need to tweak to make it look for the files in the right location.
Mup version (
mup --version
):1.5.9Mup config
Output of command
Note that I installed docker using the snapd tool, i.e. "snap install docker", so I'm not sure if there's any setting in mup that I need to tweak to make it look for the files in the right location.