This project provides a containerized setup for running Nominatim with PostgreSQL 17, offering a powerful and flexible geocoding solution.
Nominatim is an open-source tool to search OpenStreetMap data by name and address (geocoding) and to generate synthetic addresses of OSM points (reverse geocoding). This setup uses PostgreSQL 17 as the database backend, providing the latest features and performance improvements.
- Docker
- Docker Compose
- At least 8GB of RAM (16GB recommended for better performance)
- Sufficient disk space (depends on the size of your OpenStreetMap data)
-
Clone this repository:
git clone https://github.com/Cosmicoppai/nominatim.git cd nominatim
-
Build and start the containers:
docker-compose up -d
-
Access Nominatim at
http://localhost:8080 / http://localhost:80
- Database settings and Nominatim settings can be modified in the
.env
file.
To update the OpenStreetMap data:
-
Stop the containers:
docker-compose down
-
Remove the old database:
docker volume rm nominatim-pg17-container_pgdata
-
Start the containers and re-import data as described in the Quick Start section.
Contributions are welcome! Please feel free to submit a Pull Request. Build the setup for fun and quick testing and deployment, a lot of things required to make it production ready.