mongo-express-docker icon indicating copy to clipboard operation
mongo-express-docker copied to clipboard

Could not create collection

Open yeesuu opened this issue 6 years ago • 3 comments

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
111

yeesuu avatar Sep 09 '19 10:09 yeesuu

I have the same issue.

ernestohs avatar May 10 '21 02:05 ernestohs

I have the same issue.

could you solve it?

baturorkun avatar May 16 '21 11:05 baturorkun

@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.

ernestohs avatar May 23 '21 05:05 ernestohs

Sounds like this was resolved.

BlackthornYugen avatar Jan 14 '24 01:01 BlackthornYugen