{"id":17647610,"url":"https://github.com/tkrs/maxmind-geoipupdate","last_synced_at":"2025-08-08T21:31:35.131Z","repository":{"id":2412085,"uuid":"46481018","full_name":"tkrs/maxmind-geoipupdate","owner":"tkrs","description":"Run maxmind/geoipupdate periodically by using crond","archived":false,"fork":false,"pushed_at":"2023-02-13T07:56:45.000Z","size":80,"stargazers_count":11,"open_issues_count":2,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-11T08:57:01.483Z","etag":null,"topics":["geoipupdate","maxmind"],"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/tkrs.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}},"created_at":"2015-11-19T09:13:12.000Z","updated_at":"2023-07-05T15:16:39.846Z","dependencies_parsed_at":"2023-07-05T20:46:42.652Z","dependency_job_id":null,"html_url":"https://github.com/tkrs/maxmind-geoipupdate","commit_stats":null,"previous_names":[],"tags_count":14,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrs%2Fmaxmind-geoipupdate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrs%2Fmaxmind-geoipupdate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrs%2Fmaxmind-geoipupdate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkrs%2Fmaxmind-geoipupdate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkrs","download_url":"https://codeload.github.com/tkrs/maxmind-geoipupdate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229182940,"owners_count":18032910,"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":["geoipupdate","maxmind"],"created_at":"2024-10-23T11:13:59.584Z","updated_at":"2024-12-11T06:28:17.690Z","avatar_url":"https://github.com/tkrs.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geoipupdate\n\nRun [geoipupdate](https://github.com/maxmind/geoipupdate) periodically by using crond.\n\n[![Docker Image Pulls](https://img.shields.io/docker/pulls/tkrs/maxmind-geoipupdate \"Docker Image Pulls\")](https://img.shields.io/docker/pulls/tkrs/maxmind-geoipupdate)\n[![Docker Image Build](https://img.shields.io/docker/build/tkrs/maxmind-geoipupdate \"Docker Image Build\")](https://img.shields.io/docker/build/tkrs/maxmind-geoipupdate)\n\n## Usage\n\n*Note: Need an account to get the GeoLite2 Databases. See the blog post: https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/*\n\n### Pull an image\n\n```\ndocker pull tkrs/maxmind-geoipupdate\n```\n\n### Run the image\n\nSimply run `docker run`. You can also customize the behaviour by passing environment variables. Available variables are [here](#variables).\n\n```\ndocker run -d -e ACCOUNT_ID=${YOUR_ACCOUNT_ID} -e LICENSE_KEY=${YOUR_LICENSE_KEY} -e GEOIP_DB_DIR=/data/GeoIP tkrs/maxmind-geoipupdate\n```\n\nBe able to run `/usr/local/bin/run-geoipupdate` directly if you want to one-shot.\n\n```\ndocker run --rm -it \\\n        -e ACCOUNT_ID=${YOUR_ACCOUNT_ID} \\\n        -e LICENSE_KEY=${YOUR_LICENSE_KEY} \\\n        -e GEOIP_DB_DIR=/data/GeoIP \\\n        -v \"${PWD}\":/data/GeoIP \\\n        tkrs/maxmind-geoipupdate \\\n        /usr/local/bin/run-geoipupdate\n```\n\n### Variables\n\n- *GEOIP_DB_DIR*: The directory to store the database files. Defaults to \"/usr/share/GeoIP\".\n- *MAXMIND_HOST*: The server to use. Defaults to \"updates.maxmind.com\".\n- *PROTOCOL*: The desired protocol either \"https\" (default) or \"http\".\n- *ACCOUNT_ID*: Your MaxMind account ID. Defaults to \"0\".\n- *LICENSE_KEY*: Your case-sensitive MaxMind license key. Defaults to \"000000000000\".\n- *EDITION_IDS*: List of database edition IDs. Defaults to \"GeoLite2-City GeoLite2-Country\".\n- *SCHEDULE*: The schedule to run geoipupdate. Defaults to \"55 20 * * *\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkrs%2Fmaxmind-geoipupdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkrs%2Fmaxmind-geoipupdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkrs%2Fmaxmind-geoipupdate/lists"}