Skip to content
Dockerfile for libpostal-service based on the Who's on First implementation
Branch: master
Clone or download
Latest commit 809f79a Aug 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci chore(CI): Docker CI script now requires bash Oct 31, 2018
Dockerfile Change default port to fit with Pelias pattern Sep 11, 2018 Fix port usage Aug 6, 2019

This repository is part of the Pelias project. Pelias is an open-source, open-data geocoder originally sponsored by Mapzen. Our official user documentation is here.

Pelias Libpostal Service

This is a Dockerfile for creating an instance of the whosonfirst/go-whosonfirst-libpostal server for use by Pelias. There's no actual code here.

The libpostal_baseimage Dockerfile is used to provide Libpostal code and data from the openvenues/libpostal repository.

To use the libpostal-service outside of Docker, see the install instructions for the whosonfirst/go-whosonfirst-libpostal project.

Example usage

docker run -d -p 4400:4400 pelias/libpostal-service

# wait a few seconds for libpostal to come up

curl -s localhost:4400/parse?address=30+w+26th+st,+new+york,+ny | jq .
    "label": "house_number",
    "value": "30"
    "label": "road",
    "value": "w 26th st"
    "label": "city",
    "value": "new york"
    "label": "state",
    "value": "ny"
You can’t perform that action at this time.