Frode Hus
  • Home
  • About
  • Contact
  • GitHub
Sign in Subscribe

MongoDb

A collection of 1 post
Running MongoDb in Docker with authentication
Docker

Running MongoDb in Docker with authentication

This is mostly a "note to self" kind of thing as I keep having to look up how to run MongoDb with authentication enabled for local development. The easy way is to specify two environment variables: * MONGO_INITDB_ROOT_USERNAME * MONGO_INITDB_ROOT_PASSWORD However, this will give
31 Mar 2019 1 min read
Page 1 of 1
Frode Hus © 2025
Powered by Ghost