Code Monkey home page Code Monkey logo

photon-docker's Introduction

Docker: Docker Pulls

Github: GitHub issues GitHub stars GitHub forks

Have your own geocoder up and running within the hour, you will require about 60GB of disk space and has no further dependencies.

Feel free to fork and improve.

Run

The image itself is pretty small, the first time the container is executed, a 30GB searchindex will be downloaded. The data volume is exposed as /photon/photon_data and can be mounted, this way you'll only have to download the data once.

With docker run

docker run -p 2322:2322 -it thomasnordquist/photon-geocoder:latest

Search

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

For more details on the API check the photon github repository.

Build from git

https://github.com/thomasnordquist/photon-docker

With docker-compose

docker-compose build #optional
docker-compose up

Note: if you abort the download, you have to remove the volume photon_data before restarting the container

With docker build

docker build --tag thomasnordquist/photon-geocoder .

FAQ

  • How do I pass arguments to the photon.jar ?

    The entrypoint accepts arguments for the photon.jar, you can invoke it by using docker exec

  • Do I need to have nominatim ?

    The container downloads the latest prebuilt search index, there is no immediate need to have nominatim installed.

  • What is photon ?

    photon is a geocoder, check out their website and their github repository

photon-docker's People

Contributors

thomasnordquist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.