{"id":13530327,"url":"https://github.com/meetuparchive/maxmind-updater","last_synced_at":"2025-04-01T18:31:34.480Z","repository":{"id":66115571,"uuid":"203082178","full_name":"meetuparchive/maxmind-updater","owner":"meetuparchive","description":"maxmind geoipupdate docker container","archived":true,"fork":false,"pushed_at":"2019-08-28T02:25:43.000Z","size":8,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-06T10:12:38.641Z","etag":null,"topics":["geoip","github","github-actions","maxmind"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/meetuparchive.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":"2019-08-19T02:14:35.000Z","updated_at":"2023-08-03T16:25:06.000Z","dependencies_parsed_at":"2023-02-20T18:01:00.593Z","dependency_job_id":null,"html_url":"https://github.com/meetuparchive/maxmind-updater","commit_stats":null,"previous_names":["meetup/maxmind-updater"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetuparchive%2Fmaxmind-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetuparchive%2Fmaxmind-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetuparchive%2Fmaxmind-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meetuparchive%2Fmaxmind-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meetuparchive","download_url":"https://codeload.github.com/meetuparchive/maxmind-updater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246691576,"owners_count":20818535,"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":["geoip","github","github-actions","maxmind"],"created_at":"2024-08-01T07:00:47.996Z","updated_at":"2025-04-01T18:31:34.223Z","avatar_url":"https://github.com/meetuparchive.png","language":"Shell","funding_links":[],"categories":["Community Resources"],"sub_categories":["Utility"],"readme":"# maxmind updater [![](https://github.com/meetup/maxmind-updater/workflows/Main/badge.svg)](https://github.com/meetup/maxmind-updater/actions)\n\n\u003e updates [legacy Maxmind geoip databases](https://dev.maxmind.com/geoip/legacy/downloadable/)\n\n\u003e **⚠️ Note:** To use this action, you must have access to the [GitHub Actions](https://github.com/features/actions) feature. GitHub Actions are currently only available in public beta. You can [apply for the GitHub Actions beta here](https://github.com/features/actions/signup/).\n\n## usage\n\n```sh\n$ docker build -t meetup/maxmind-updater .\n```\n\nThis image is expected with code mounted to a workdir, as Github Actions does, with\ntwo environment varibles: `DATA_DIR` the directory to locate `GeoIPCity.dat`, and `CONF_DIR` to location `GeoIp.conf`. These both default to `data` and `conf` respectively.\n\n\n```sh\n$ docker run --rm \\\n\t-v $(pwd):/code \\\n\t-w /code \\\n\t-e DATA_DIR:path/to/data \\\n\t-e CONF_DIR:path/to/conf \\\n\tmeetup/maxmind-updater\n👍 GeoIP Database up to date, no action needed.\n```\n\n### Github Actions\n\nHere's how you might run this container in Github Actions on a cron schedule\n\n```yaml\nname: GeoIp Update\n\n# https://help.github.com/en/articles/events-that-trigger-workflows#scheduled-events\non:\n  schedule:\n  - cron:  '*/30 * * * *'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n      - name: Test\n        uses: docker://meetup/maxmind-updater:{docker-tag}\n        env:\n          DATA_DIR: path/to/data\n          CONF_DIR: path/to/conf\n      - name: Diff\n        run: git status\n```\n\n## references\n\n* [geoipupdate tool](https://github.com/maxmind/geoipupdate-legacy)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeetuparchive%2Fmaxmind-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeetuparchive%2Fmaxmind-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeetuparchive%2Fmaxmind-updater/lists"}