CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
607f8f5ead63 mup-meteor_sh:latest "/bin/sh -c 'exec $M…" 10 minutes ago Up 7 minutes 0.0.0.0:6666->80/tcp meteor_sh
ad5b8fab3ac4 mongo:4.0.12 "docker-entrypoint.s…" 26 minutes ago Up 26 minutes 0.0.0.0:30000->27017/tcp router
8467b6b54078 mup-meteor_type:latest "/bin/sh -c 'exec $M…" 38 minutes ago Up 38 minutes 0.0.0.0:5555->80/tcp meteor_type
ba37c30903f8 mongo:4.0.12 "docker-entrypoint.s…" About an hour ago Up About an hour 127.0.0.1:27017->27017/tcp mongodb
1- Deploy with buidin Mongodb: Work Fine
Mongo: 127.0.0.1:27017->27017/tcp
App: 0.0.0.0:5555
2- Deploy with External Mongo Sharding
Create Mongo Sharding: OK (Other Server)
Create Mongos Router: OK (The same meteor app server)
This site can’t be reachedThe webpage at http://157.230.......:6666/ might be temporarily down or it may have moved permanently to a new web address.
ERR_UNSAFE_PORT
Mup Config
module.exports = {
servers: {
one: {
// TODO: set host address, username, and authentication method
host: "157.230......",
username: "root",
pem: "~/.ssh/id_rsa"
// password: 'server-password'
// or neither for authenticate from ssh-agent
}
},
app: {
// TODO: change app name and path
name: "meteor_sh",
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://157.230.......:6666",
MONGO_URL: "mongodb://157.23........:30000/meteor_sh",
PORT: 6666
},
docker: {
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: "4.0.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'
// }
// }
};
Mup version@1.4.6:
1- Deploy with buidin Mongodb: Work Fine
2- Deploy with External Mongo Sharding
Mongo Sharding
: OK (Other Server)Mongos Router
: OK (The same meteor app server)But cannot access the app
Mup Config