Skip to content

Instantly share code, notes, and snippets.

@adyanth
Last active June 28, 2022 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adyanth/576fdec90acc8ca8b66a71063e0641d9 to your computer and use it in GitHub Desktop.
Save adyanth/576fdec90acc8ca8b66a71063e0641d9 to your computer and use it in GitHub Desktop.
Mongo Express
version: "3.8"
services:
mongo-db:
image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root_password
mongo-ui:
image: mongo-express
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_SERVER: mongo-db
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: root_password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment