---
title: "Discussion on \"Setting up MongoDB with replicas for local development\" | Hashnode"
description: "Discussion on \"Setting up MongoDB with replicas for local development\". It's been a long time coming, but I finally came around to set up MongoDB with replicas for local development.\nTLDR; clone the repository, run docker compose up -d, and you are good to go!\nIf you want to know more, continue to read below.\nContext\nRun..."
url: "https://hashnode.com/posts/setting-up-mongodb-with-replicas-for-local-development/65a2e07be7b2e1ca11ea5713"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setting up MongoDB with replicas for local development](https://bwgjoseph.com/setting-up-mongodb-with-replicas-for-local-development?utm_source=hashnode&utm_medium=feed)

It's been a long time coming, but I finally came around to set up MongoDB with replicas for local development. TLDR; clone the repository, run docker compose up -d, and you are good to go! If you want to know more, continue to read below. Context Run...

Jan 13, 2024 · 3 min read · bwgjoseph.com  
Read the article

-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#springboot](https://hashnode.com/tag/springboot)
-   [#replicaset](https://hashnode.com/tag/replicaset)
-   [#development](https://hashnode.com/tag/development)
-   [#docker](https://hashnode.com/tag/docker)
-   [#docker-compose](https://hashnode.com/tag/docker-compose)

## Written by

[Joseph Gan](https://hashnode.com/@bwgjoseph)

@bwgjoseph · Singapore

  
[View profile](https://hashnode.com/@bwgjoseph)

Advocate for better developer's productivity and experience Documenting my learnings and sharing it

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
