rd13_tile_server/docker-compose.yml

40 lines
1.1 KiB
YAML
Raw Normal View History

services:
martin:
image: ghcr.io/maplibre/martin:latest
container_name: rd13_martin
ports:
- "9982:3000"
volumes:
- ./data:/data
- ./config/martin.yaml:/config/martin.yaml:ro
command: ["--config", "/config/martin.yaml", "--webui", "enable-for-all"]
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
tileserver:
image: ghcr.io/maptiler/tileserver-gl:latest
container_name: rd13_tileserver
ports:
- "9983:8080"
volumes:
- ./data/styles:/data/styles:ro
- ./data/fonts:/data/fonts:ro
- ./data/sprites:/data/sprites:ro
environment:
- PMTILES_CACHE_DIR=/tmp/pmtiles-cache
- NODE_ENV=production
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
depends_on:
- martin