Closed gerhardsletten closed 8 years ago
I'll reproduce it on mac later. Thanks for your report.
Don't know it there is something special on my machine (OS X 10.10.5) or using docker links with docker-machine, but in order to use --link parameter, the linked docker will not be available on 172.0.0.1 so I need to find the ip-adresse like this:
...
var links = require('docker-links').parseLinks(process.env);
...
var api = new ParseServer({
databaseURI: databaseUri || 'mongodb://' + links.mongo.hostname + ':27017/dev',
...
});
Should I push a pull request for it?
I dont not sure, but you can make it. I'll merge it if nobody has another opinion.
On a mac I had to specify the DATABASE_URI with ip:port to my mongodb docker to make in work: