Skip to content

Instantly share code, notes, and snippets.

@vczb
Last active March 20, 2022 22:22
Show Gist options
  • Select an option

  • Save vczb/f7e4a43555ef6c4bf3ba13ea87d984ae to your computer and use it in GitHub Desktop.

Select an option

Save vczb/f7e4a43555ef6c4bf3ba13ea87d984ae to your computer and use it in GitHub Desktop.
Mongo DB - Docker
version: '3.1'
services:
mongo:
image: mongo:4.4-bionic
# restart: always
container_name: mongodb
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: mongo
ports:
- 27017:27017
- 28017:28017
networks:
infranet:
aliases:
- 'mongo'
networks:
infranet:
volumes:
mongo_data:
@vczb
Copy link
Author

vczb commented Feb 26, 2022

set pettry as default

DBQuery.prototype._prettyShell = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment