OpenStreetMap Docker for Overpass API.
Download an indoor OSM file in XML format compressed in bzip format and save as planet.osm.bz2
.
Some example files are available under https://git.ropod.org/ropod/wm/openstreetmap-indoor-modelling/tree/master/examples
docker build -t overpass .
docker run -d -p <localhost port>:80 overpass:latest
docker run -d -p 8000:80 overpass:latest
http://localhost:5000/api/interpreter?data=%5Bout:json%5D%5Btimeout:25%5D;
docker cp planet.osm.bz2 <container name>:/usr/src/app/planet.osm.bz2
docker exec -it <container name> bash
ps aux
Find process with overpass dispatcher and kill it
sh /srv/osm3s/bin/init_osm3s.sh /usr/src/app/planet.osm.bz2 "$DB_DIR" "$EXEC_DIR" && rm -f /usr/src/app/planet.osm.bz2