-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathcompose.builder.yml
More file actions
48 lines (48 loc) · 1.42 KB
/
compose.builder.yml
File metadata and controls
48 lines (48 loc) · 1.42 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
services:
rebuild-valhalla:
image: ghcr.io/onthegomap/planetiler:latest
mem_limit: 50G
memswap_limit: 50G
cpu_shares: 512 # we don't want to gobble up all the CPU
pull_policy: always
environment:
JAVA_TOOL_OPTIONS: -Xmx25g
volumes:
- /tmp/navigatum/map:/data
- ./map/planetiler:/conf
command:
- ../conf/shortbread_custom.yml
- --download
- --download-threads=10
- --download-chunk-size-mb=1000
- --free_natural_earth_after_read=true
- --free_water_polygons_after_read=true
- --free_lake_centerlines_after_read=true
- --compress_temp=true
- --fetch-wikidata
- --languages=de,en
- --Xmx25g
- --nodemap-type=array
- --storage=mmap
- --area=planet
- --bounds=world
- --output=/data/output.mbtiles
- --force=true
valhalla-build:
image: ghcr.io/valhalla/valhalla-scripted:latest
mem_limit: 50G
memswap_limit: 50G
cpu_shares: 512 # we don't want to gobble up all the CPU
pull_policy: always
volumes:
- ./tmp/navigatum/navigation/:/custom_files:rw
environment:
TZ: Europe/Berlin
tile_urls: https://download.geofabrik.de/europe/germany/bayern-latest.osm.pbf
build_elevation: True
force_rebuild: True
build_admins: Force
build_time_zones: Force
build_transit: False
use_default_speeds_config: True
serve_tiles: False