mongo-express-docker
mongo-express-docker copied to clipboard
Could not create collection
mongo:
image: mongo:4.2
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: 111111
volumes:
- ./../mongodb:/var/lib/mongodb
mongo-express:
image: mongo-express:0.49
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: 111111
links:
- mongo
I have the same issue.
I have the same issue.
could you solve it?
@baturorkun Yes, I removed the versions, and for mongo-express added mode variables ME_CONFIG_MONGODB_AUTH_* using the correct user/password that makes the configuration execute properly.
Sounds like this was resolved.