-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
40 lines (38 loc) · 1015 Bytes
/
docker-compose.yml
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
---
version: "3.8"
services:
go_tile:
build:
context: ..
dockerfile: docker/Dockerfile.go_tile
depends_on:
renderd:
condition: service_healthy
environment:
MAP_NAME: default
METATILE_DIR: /data/tiles
RENDERD_SOCKET: renderd:7654
VERBOSE: true
ports:
- 8080:8080
volumes:
- osm-tiles:/data/tiles:ro
renderd:
entrypoint: /docker-entrypoint.sh
environment:
DOWNLOAD_PBF: https://download.geofabrik.de/europe/germany/hamburg-latest.osm.pbf
DOWNLOAD_POLY: https://download.geofabrik.de/europe/germany/hamburg.poly
healthcheck:
test: ["CMD", "/docker-healthcheck.sh"]
start_period: 30m
image: overv/openstreetmap-tile-server
volumes:
- ./renderd-entrypoint.sh:/docker-entrypoint.sh:ro
- ./renderd-healthcheck.sh:/docker-healthcheck.sh:ro
- osm-data:/data/database/:rw
- osm-tiles:/data/tiles:rw
volumes:
osm-data:
driver: local
osm-tiles:
driver: local