{"id":21311978,"url":"https://github.com/vhidvz/mongo-rs","last_synced_at":"2025-06-20T10:06:27.057Z","repository":{"id":104772226,"uuid":"527617094","full_name":"vhidvz/mongo-rs","owner":"vhidvz","description":"Mongodb replica set with docker compose and three nodes","archived":false,"fork":false,"pushed_at":"2023-09-26T18:05:18.000Z","size":9,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T14:08:22.326Z","etag":null,"topics":["docker-compose","mongodb","replica-set"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vhidvz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-22T15:11:38.000Z","updated_at":"2024-10-26T17:30:14.000Z","dependencies_parsed_at":"2023-04-16T22:12:49.581Z","dependency_job_id":"5cfeaa43-d155-4790-b67b-c40d135eb6e3","html_url":"https://github.com/vhidvz/mongo-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vhidvz/mongo-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhidvz%2Fmongo-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhidvz%2Fmongo-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhidvz%2Fmongo-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhidvz%2Fmongo-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vhidvz","download_url":"https://codeload.github.com/vhidvz/mongo-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhidvz%2Fmongo-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260924457,"owners_count":23083522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-compose","mongodb","replica-set"],"created_at":"2024-11-21T17:22:53.638Z","updated_at":"2025-06-20T10:06:22.030Z","avatar_url":"https://github.com/vhidvz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mongo-RS\n\nMongo replication set with four nodes, run and start with docker compose:\n\n```sh\nsudo mkdir -p -m 777 mongo/primary\nsudo chown -R 1001 mongo\n```\n\n\u003e NOTE: As this is a non-root container, the mounted files and directories must have the proper permissions for the UID 1001.\n\n```sh\ndocker-compose up -d\n```\n\n\u003e NOTE: It will take time to initiate for first time\n\nAdd this lines to `/etc/hosts`:\n\n```sh\n127.0.0.1 mongodb-primary\n127.0.0.1 mongodb-secondary-1\n127.0.0.1 mongodb-secondary-2\n127.0.0.1 mongodb-arbiter\n```\n\n## Connection URI\n\n`mongodb://root:password123@mongodb-primary:27017,mongodb-secondary-1:27018,mongodb-secondary-2:27019,mongodb-arbiter:27020/?replicaSet=rs0\u0026authSource=admin`\n\n### Reference\n\n- https://github.com/bitnami/containers/tree/main/bitnami/mongodb\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvhidvz%2Fmongo-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvhidvz%2Fmongo-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvhidvz%2Fmongo-rs/lists"}