Skip to content

Instantly share code, notes, and snippets.

@chiarabeth
Created Aug 24, 2021
Embed
What would you like to do?
Docker Mongo Step 2
version: '3'
services:
my_mongo:
image: mongo
ports:
- 27019:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: rootpassword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment