Hi all, can someone spot what is wrong with the following ?
running on the same server. my-app-1 created a
I want my-app-2 to use my-db-1.
my-app-1 was deployed with a:
- MONGO_URL: 'mongodb://localhost/meteor’
and appears in docker as
- “mongodb” 127.0.0.1:27017->27017/tcp
my-app-2 was deployed with a MONGO_URL of:
- mongodb://mongodb:27017/my-app-1 (db name in mongo is same as app name apparent when I ran “show dbs”)
//EDIT: I went into the my-app-2 image and ran “env”, the MONGO_URL is set to mongodb://mongo:27017/my-app-2, how can this be possible since I never specified something like this and what can I do to fix this? The mup tool doesn’t seem to be doing it’s job
//EDIT2: also, the MONGO_URL from the my-app-1 container is set to mongodb://mongo:27017/my-app-1, which is not at all what I set in its deploy json