{"id":18551976,"url":"https://github.com/satishdash/alpine-mongodb","last_synced_at":"2025-05-15T11:10:57.906Z","repository":{"id":91630555,"uuid":"291983077","full_name":"satishdash/alpine-mongodb","owner":"satishdash","description":"Creates an alpine mongodb4.0 docker image","archived":false,"fork":false,"pushed_at":"2020-09-02T18:54:36.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T10:48:57.929Z","etag":null,"topics":["alpine","dockerfile","mongo","mongodb"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/satishdash.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":"2020-09-01T11:47:42.000Z","updated_at":"2022-11-11T05:30:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"2679a495-34bc-494b-9cef-d99dea7e46c2","html_url":"https://github.com/satishdash/alpine-mongodb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satishdash%2Falpine-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satishdash%2Falpine-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satishdash%2Falpine-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satishdash%2Falpine-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/satishdash","download_url":"https://codeload.github.com/satishdash/alpine-mongodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328389,"owners_count":22052633,"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":["alpine","dockerfile","mongo","mongodb"],"created_at":"2024-11-06T21:11:23.687Z","updated_at":"2025-05-15T11:10:52.898Z","avatar_url":"https://github.com/satishdash.png","language":"Dockerfile","readme":"# alpine-mongo\nCreates an alpine based mongodb4.0 docker image\n\n##### *Simple yet an elegant way to set up your test environment in just a couple of steps!!!*\n\n:bulb: **Credentials**\n\n*[NOT FOR PRODUCTION USE]*\n\nAdmin User\n```\nAdmin username: admin\nAdmin user password: admin\n```\n\nDatabase User\n```\nDB username: mongo\nDB user password: mongo\n```\n\n:bulb: **Way to setup for integration test**\n\nSetup:\n```\nmake teardown \u0026\u0026 make setup\n\n```\n\nLogin to the mongodb container:\n```\n$ docker exec -ti mongodb sh -l\n```\n```\nmongodb:/# mongo --authenticationDatabase admin -u mongo -p mongo test\n\nMongoDB shell version v4.0.5\nconnecting to: mongodb://127.0.0.1:27017/test?authSource=admin\u0026gssapiServiceName=mongodb\nImplicit session: session { \"id\" : UUID(\"b77c96cd-ce56-475b-8b8d-ab23b65fa712\") }\nMongoDB server version: 4.0.5\nWelcome to the MongoDB shell.\nFor interactive help, type \"help\".\nFor more comprehensive documentation, see\n        http://docs.mongodb.org/\nQuestions? Try the support group\n        http://groups.google.com/group/mongodb-user\n```\n\nTest:\n```\n\u003e use test\nswitched to db test\n\n\u003e db.foo.insert({\"a\":1})\nWriteResult({ \"nInserted\" : 1 })\n\n\u003e db.foo.find()\n{ \"_id\" : ObjectId(\"5f4e3da2b4bba22a8b4bf92a\"), \"a\" : 1 }\n```\n\n:bulb: **Teardown resources after you're done**\n\nTeardown:\n```\nmake teardown\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatishdash%2Falpine-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatishdash%2Falpine-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatishdash%2Falpine-mongodb/lists"}