-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (25 loc) · 834 Bytes
/
docker-compose.yml
File metadata and controls
26 lines (25 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
volumes:
overpass-db:
version: '3.8'
services:
overpass:
# specify the image here
image: wiktorn/overpass-api:0.7.62
container_name: overpass
# uncomment if you want to build the image yourself
# build: .
ports:
- 12345:80
volumes:
# use a docker managed volume
- overpass-db:/db
environment:
- OVERPASS_META=no
- OVERPASS_MODE=init
- OVERPASS_PLANET_URL=http://download.geofabrik.de/europe/monaco-latest.osm.bz2
- OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/europe/monaco/minute/
- OVERPASS_UPDATE_SLEEP=3600
- OVERPASS_USE_AREAS=false
healthcheck:
test: curl --noproxy '*' -qfg 'http://localhost/api/interpreter?data=[out:json];node(1);out;' | jq '.generator' |grep -q Overpass || exit 1
start_period: 48h