docker_django_mongodb icon indicating copy to clipboard operation
docker_django_mongodb copied to clipboard

image names mongo or mongodb errors

Open bungernut opened this issue 6 years ago • 1 comments

It seems that with current docker images this example no longer works.

My guess is mongo-express is expecting an image name of mongo not mongodb in it's docker-entrypoint.sh script.

Changing all image names referring to mongodb to mongo, and updating django_mongodb_docker/settings.py HOST from mongodb to mongo make the example work.

I still have errors in make_migrations that I'm trying to track down, but this at least gets web and mongo-express running.

bungernut avatar Feb 23 '20 05:02 bungernut

ME_CONFIG_MONGODB_SERVER is how one can set this now in compose.

bungernut avatar Feb 23 '20 17:02 bungernut