{"id":18256955,"url":"https://github.com/mediacomem/mbtileserver","last_synced_at":"2026-02-05T06:03:48.046Z","repository":{"id":73832499,"uuid":"287036192","full_name":"MediaComem/mbtileserver","owner":"MediaComem","description":"A server for map tiles stored in mbtiles format, with auto-reload","archived":false,"fork":false,"pushed_at":"2022-02-01T08:41:48.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-19T15:52:04.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/MediaComem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-08-12T14:31:26.000Z","updated_at":"2022-02-01T08:39:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"cda64c60-1760-49f6-9e88-39e3cb72d890","html_url":"https://github.com/MediaComem/mbtileserver","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/MediaComem/mbtileserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fmbtileserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fmbtileserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fmbtileserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fmbtileserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MediaComem","download_url":"https://codeload.github.com/MediaComem/mbtileserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MediaComem%2Fmbtileserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29114510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-05T10:24:18.001Z","updated_at":"2026-02-05T06:03:48.032Z","avatar_url":"https://github.com/MediaComem.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mbtileserver\n\nA server for map tiles in the [mbtiles](https://github.com/mapbox/mbtiles-spec)\nformat, based on\n[consbio/mbtileserver](https://github.com/consbio/mbtileserver/) with an\nadditional cron job to automatically reload the tiles on changes.\n\n## Usage\n\nThis repository provides a [Docker\nimage](https://hub.docker.com/r/mediacomem/mbtileserver) which extends the\nexisting [consbio/mbtileserver](https://hub.docker.com/r/consbio/mbtileserver)\nimage. Any settings used with that original image can also be used with this\none.\n\nIn addition to the mbtileserver, the image runs a cron job which runs every\nminute and checks the tile directory (defined by the `$TILE_DIR` environment\nvariable) for changes to the tiles. If any change is detected, the script will\nsend a SIGHUP signal to the mbtileserver, causing it to reload the new tiles.\n\n## Configuration\n\nThe mbtileserver is always launched with the `--enable-reload-signal` option,\nsince it must be able to receive the signal from the cron job. You may specify\nadditional command-line arguments with the `$MBTILESERVER_ARGS` environment\nvariable.\n\n### Change detection mode\n\nThe `$TILE_VERSION_TYPE` environment variable determines how changes to the\ntiles are detected:\n\n* If it is `date` (the default), the script will check the paths of all\n  `.mbtiles` files in the tiles directory, as well as their last modification\n  times. Moving or changing the last modification time of any of these files\n  will trigger a reload.\n* If it is `digest`, the script will check the paths of all `.mbtiles` files in\n  the tiles directory, as well as the SHA-256 hash of their contents. Moving or\n  modifying the contents of any of these files will trigger a reload.\n\n  This mode is more CPU-intensive but checks the actual contents of the files,\n  not only their last modification time.\n\n### Persistence\n\nThe script run by the cron job will save the latest \"version\" of the tiles in\nthe directory defined by the `$TILE_VERSION_DIR` environment variable for future\ncomparison. This directory is `/var/lib/mbtiles-version` by default.\n\nYou may store this directory in a Docker volume to avoid an extra check of the\ntiles when the container restarts. This is recommended when using `digest` mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fmbtileserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediacomem%2Fmbtileserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediacomem%2Fmbtileserver/lists"}