Skip to content

Photon Docker container in combination with the nominatim docker

Notifications You must be signed in to change notification settings

helvalius/photon-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Photon Docker

Run https://github.com/komoot/photon 0.2.2 in a docker container.

Uses phusion/baseimage (Ubuntu 14.04). Requires a running nominatim for data import. It is built to work together with https://registry.hub.docker.com/u/helvalius/nominatim-docker-development/ . The embedded ES database is not exposed as volumes and thus data is removed if container is removed.

Building

To rebuild the image locally execute

docker build -t photon .

Running

By default the container exposes port 2322 as web port, links nominatim.

To run the container execute

docker run -p 2322:2322  --link nominatim_container:nominatim -ti photon

Connect to the webserver with curl. If this succeeds, open http://localhost:2322/ in a web browser

curl "http://localhost:2322/api?q=berlin"

About

Photon Docker container in combination with the nominatim docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published