{"id":13564804,"url":"https://github.com/leafney/alpine-mongo","last_synced_at":"2025-07-04T09:38:41.083Z","repository":{"id":92802741,"uuid":"84579113","full_name":"leafney/alpine-mongo","owner":"leafney","description":"Alpine Mongo Image","archived":false,"fork":false,"pushed_at":"2019-03-23T07:44:30.000Z","size":4,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T21:06:43.292Z","etag":null,"topics":["alpine","alpine-mongo","docker","mongodb"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leafney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-03-10T16:28:03.000Z","updated_at":"2022-11-05T15:34:54.000Z","dependencies_parsed_at":"2023-04-17T08:02:14.889Z","dependency_job_id":null,"html_url":"https://github.com/leafney/alpine-mongo","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/leafney/alpine-mongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falpine-mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falpine-mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falpine-mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falpine-mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafney","download_url":"https://codeload.github.com/leafney/alpine-mongo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falpine-mongo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263484398,"owners_count":23473753,"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","alpine-mongo","docker","mongodb"],"created_at":"2024-08-01T13:01:36.324Z","updated_at":"2025-07-04T09:38:41.059Z","avatar_url":"https://github.com/leafney.png","language":"Dockerfile","readme":"### Alpine-Mongo\n\nalpine mongo image\n\n#### Get Image from Docker Hub\n\n```\n$ docker pull leafney/alpine-mongo\n```\n\n#### Run default container\n\n```\n$ docker run --name mongo -d -p 27017:27017 leafney/alpine-mongo:latest\n```\n\n#### Run a container by yourself config\n\n```\n$ docker run --name mongo --restart=always -d -p 27017:27017 -v /home/tiger/mongo:/data leafney/alpine-mongo:latest\n```\n\nGet the three directory under `/data` folder in the git library sample program copy to the `/home/tiger/mongo` directory：\n\n```\ndata\n-- config\n    -- mongod.conf\n-- db\n-- logs\n```\n\nYou can customize the settings in the `mongod.conf` file.\n\neg:\n\ndefault `bind_ip` is `127.0.0.1`, if you want to connect from remote server,you can add `bind_ip = 0.0.0.0` in the config file.\n\nAnd Then, Restart the container:\n\n```\n$ docker restart mongo\n```\n","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafney%2Falpine-mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafney%2Falpine-mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafney%2Falpine-mongo/lists"}