Skip to content

Instantly share code, notes, and snippets.

@jerlyrosa
Last active March 11, 2023 15:53
Show Gist options
  • Save jerlyrosa/b0e44c25900ff5976a51e65731ad5ad0 to your computer and use it in GitHub Desktop.
Save jerlyrosa/b0e44c25900ff5976a51e65731ad5ad0 to your computer and use it in GitHub Desktop.
Mongo Local
version: '3.7'
services:
mongodb_container:
image: mongo:latest
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
ports:
- 27017:27017
volumes:
- ./mongodb_data_container:/data/db
volumes:
mongodb_data_container:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment