Hi,
After successfully using the latest version of mup to deploy my meteor app to a single server, I try to deploy my meteor app to a multiple servers but I failed and got the following error
-----------------------------------STDERR-----------------------------------
Error response from daemon: No such container: novaapp
Error response from daemon: No such container: novaapp-frontend
docker: Error response from daemon: Could not get container for mongodb.
See 'docker run --help'.
-----------------------------------STDOUT-----------------------------------
base: Pulling from abernix/meteord
Digest: sha256:d8169162ee2318f8af83b9e14efa996c61db71790fbe36297402f1e641bf435a
Status: Image is up to date for abernix/meteord:base
----------------------------------------------------------------------------
My mup.js is below
module.exports = {
servers: {
one: {
host: ‘ip1’, // your server ip
username: ‘xxxx’,
password: ‘xxxx’
// pem: ‘absolute/path/to/ssh/key’,
// password:
// or leave blank for authenticate from ssh-agent
},
two: {
host: ‘ip2’, // your server ip
username: ‘xxxx’,
password: ‘xxxxx’
// pem: ‘absolute/path/to/ssh/key’,
// password:
// or leave blank for authenticate from ssh-agent
}
},
meteor: {
name: ‘novaapp’, // name of your docker container
path: ‘…/’, // relative path to your app ; if this file is in /my-app/.deploy, this makes senses as referring to /my-app
servers: {
one: {},
two: {}
},
buildOptions: {
serverOnly: true,
},
env: {
PORT: portnumber,
ROOT_URL: ‘http://nova.adalidda.net’, // absolute url of your deploy ; it can be replaced by http://1.2.3.4 if nginx is not setup
MONGO_URL: ‘mongodb://username:password@ip1:port/Dbname?replicaSet=rs0&readPreference=primaryPreferred&w=majority’,
MONGO_OPLOG_URL: ‘mongodb://username:password@ip1:port,ip2:port/local?authSource=admin&replicaSet=rs0’
},
docker: {
image:‘abernix/meteord:base’ // docker image working with meteor 1.4 & node 4
},
setupMongo: false,
deployCheckWaitTime: 60,
enableUploadProgressBar: true
},
mongo: {
oplog: true,
port: portnumber,
servers: {
two: {},
one: {}
},
},
};
What I did wrong ?
Thank You in advance
Kosona