Sign inSign up

helvalius/photon-docker

By helvalius

•Updated over 11 years ago

Image
0

1.3K

helvalius/photon-docker repository overview

⁠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"

Tag summary

Content type

Image

Digest

sha256:fd9d12769…

Size

-

Last updated

over 11 years ago

docker pull helvalius/photon-docker