# photon-docker

> Self-hosted Docker image for Photon geocoder with search-as-you-type and reverse geocoding using OpenStreetMap data.

- **Category:** Geospatial
- **Licence:** Apache-2.0
- **Latest version:** 2.5.0
- **Open source:** oss
- **Languages:** Python
- **Platforms:** Docker Compose
- **Tags:** API, Search, Maps, Openstreetmap, Geocoding, Docker, Self Hosted, Location, Renovate, Reverse geocoding, Photon, Komoot, Reverse Geocode, Reverse Geocoder

## Description

This project provides a Docker image for running the Photon geocoder on your own infrastructure. Photon is an open-source geocoding engine that uses OpenStreetMap data to offer search-as-you-type and reverse geocoding. The container supports two ways to build its index: downloading a ready-made index for a single region, or building one from raw OSM JSONL dumps (the latter is experimental and can combine multiple regions). Automatic index updates are available with parallel or sequential strategies. You can choose from planet-wide data, continents, or specific countries. Prometheus metrics can be enabled, and the image defaults to community mirrors to ease load on the official GraphHopper servers. The service listens on port 2322 and works with tools like Dawarich for location history. Be aware that the planet index exceeds 60 GB and the first import can take many hours.

## Links

- [Homepage](https://github.com/rtuszik/photon-docker)
- [Docker](rtuszik/photon-docker)
- [GitHub Repository](https://github.com/rtuszik/photon-docker)

---
Source: https://selfhost.directory/project/photon-docker