28 lines
502 B
Markdown
28 lines
502 B
Markdown
# Photon geocoder and reverse
|
|
|
|
[oring git](https://github.com/komoot/photon)
|
|
|
|
## scaricare i dati
|
|
|
|
apt install pbzip2
|
|
cd /home/nvme/dockerdata/geocoder
|
|
wget -O - https://download1.graphhopper.com/public/photon-db-latest.tar.bz2 | pbzip2 -cd | tar x
|
|
|
|
## Installare
|
|
|
|
./build.sh
|
|
|
|
## Start
|
|
|
|
./start.sh
|
|
|
|
oppure
|
|
|
|
services:
|
|
photon:
|
|
container_name: photon
|
|
ports:
|
|
- 2322:2322
|
|
volumes:
|
|
- /home/nvme/dockerdata/geocoder:/data
|
|
image: photon
|