connect docker container with python-eve app to docker container with mongodb connect docker container with python-eve app to docker container with mongodb flask flask

connect docker container with python-eve app to docker container with mongodb


It appeared, that the MONGO_HOST in the settings.py of the app, must be set to the mongo container name as specified in the docker-compose.yml:

...MONGO_HOST = 'mongodb'...