forked from nilsnolde/docker-valhalla
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml.template
More file actions
30 lines (30 loc) · 1.13 KB
/
docker-compose.yml.template
File metadata and controls
30 lines (30 loc) · 1.13 KB
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
27
28
29
30
version: '3.0'
services:
valhalla:
image: gisops/valhalla:latest
container_name: valhalla_latest
build:
#build:
# context: .
# args:
# - VALHALLA_RELEASE=3.0.9
# - PRIMESERVER_RELEASE=0.6.5
volumes:
- ./custom_files/:/custom_files
environment:
# The tile_file must be located in the same folder as the docker-compose.
# The tile_file has priority and is used when valid.
# If the tile_file doesn't exist, the url is used instead.
# Don't blank out tile_url when you use tile_file and vice versa.
- tile_urls=https://download.geofabrik.de/europe/andorra-latest.osm.pbf https://download.geofabrik.de/europe/albania-latest.osm.pbf
# Get correct bounding box from e.g. https://boundingbox.klokantech.com/
- min_x=18 # -> Albania | -180 -> World
- min_y=38 # -> Albania | -90 -> World
- max_x=22 # -> Albania | 180 -> World
- max_y=43 # -> Albania | 90 -> World
- use_tiles_ignore_pbf=True
- force_rebuild=False
- force_rebuild_elevation=False
- build_elevation=True
- build_admins=True
- build_time_zones=True