Skip to content

Commit ae4defd

Browse files
arnesetzerwiktorn
authored andcommitted
chore: Update docker-compose.yml to have a out of the box working example
1 parent b4074ee commit ae4defd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ services:
1717
environment:
1818
- OVERPASS_META=no
1919
- OVERPASS_MODE=init
20-
- OVERPASS_PLANET_URL=http://download.geofabrik.de/europe/monaco-latest.osm.bz2
20+
- OVERPASS_PLANET_URL=http://download.geofabrik.de/europe/monaco-latest.osm.pbf
2121
- OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/europe/monaco/minute/
2222
- OVERPASS_UPDATE_SLEEP=3600
2323
- OVERPASS_USE_AREAS=false
24+
- OVERPASS_PLANET_PREPROCESS='mv /db/planet.osm.bz2 /db/planet.osm.pbf && osmium cat -o /db/planet.osm.bz2 /db/planet.osm.pbf && rm /db/planet.osm.pbf'
2425
healthcheck:
2526
test: curl --noproxy '*' -qfg 'http://localhost/api/interpreter?data=[out:json];node(1);out;' | jq '.generator' |grep -q Overpass || exit 1
2627
start_period: 48h

0 commit comments

Comments
 (0)