Skip to content

Instantly share code, notes, and snippets.

@markuman
Last active November 17, 2024 23:19
Show Gist options
  • Save markuman/230af4cc11333ca3efc22eed60575adc to your computer and use it in GitHub Desktop.
Save markuman/230af4cc11333ca3efc22eed60575adc to your computer and use it in GitHub Desktop.
πŸ—ΊοΈ OSM - self host the entire planet 🌎 in ~30 minutes πŸš€

πŸ—ΊοΈ OSM - self host the entire planet 🌎 in ~30 minutes πŸš€

TL;DR

mkdir osm
wget -O osm/planet.mbtiles https://hidrive.ionos.com/api/sharelink/download?id=SYEgScrRe
podman run -ti --rm -p 9000:9000 --name sms -v $(pwd)/osm/:/data/ registry.gitlab.com/markuman/sms:latest
firefox http://localhost:9000

requirements:

  • podman (or docker)
  • 90 GB storage is required (1 core and 512MB memory is sufficient)

notes:

  • "~30 minutes" depends on your bandwidth ...and the hidrive performance of ionos.

support

  • My Project: https://github.com/markuman/sms
  • For the large planet.mbtiles generation and hosting, donations are welcome πŸ™‚
    • paypal.me/MarkusBergholz
    • bc1qz33cf70vq82gxf8kps06j7lv7m2903hsnjak6k

credits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment