2016-10-23 15:36:48 +00:00
|
|
|
version: "2"
|
2016-10-06 05:45:00 +00:00
|
|
|
volumes:
|
|
|
|
pgdata:
|
|
|
|
services:
|
|
|
|
postgres:
|
2016-11-01 21:05:54 +00:00
|
|
|
image: "openmaptiles/postgis:2.2"
|
2016-10-06 05:45:00 +00:00
|
|
|
volumes:
|
|
|
|
- pgdata:/var/lib/postgresql/data
|
|
|
|
ports:
|
|
|
|
- "5432"
|
|
|
|
env_file: .env
|
2016-10-23 15:36:48 +00:00
|
|
|
import-natural-earth:
|
|
|
|
image: "openmaptiles/import-natural-earth"
|
2016-10-06 05:45:00 +00:00
|
|
|
env_file: .env
|
|
|
|
links:
|
2016-10-23 15:36:48 +00:00
|
|
|
- postgres
|
|
|
|
import-water:
|
|
|
|
image: "openmaptiles/import-water"
|
2016-10-06 06:25:00 +00:00
|
|
|
env_file: .env
|
|
|
|
links:
|
|
|
|
- postgres
|
2016-10-28 14:11:26 +00:00
|
|
|
import-lakelines:
|
|
|
|
image: "openmaptiles/import-lakelines"
|
|
|
|
env_file: .env
|
|
|
|
links:
|
|
|
|
- postgres
|
2016-10-23 15:36:48 +00:00
|
|
|
import-osm:
|
|
|
|
image: "openmaptiles/import-osm"
|
2016-10-06 05:45:00 +00:00
|
|
|
env_file: .env
|
2016-10-24 07:40:14 +00:00
|
|
|
environment:
|
|
|
|
DIFF_MODE: "false"
|
2016-10-06 05:45:00 +00:00
|
|
|
links:
|
|
|
|
- postgres
|
2016-10-23 15:36:48 +00:00
|
|
|
volumes:
|
|
|
|
- ./data:/import
|
|
|
|
- ./build:/mapping
|
|
|
|
import-sql:
|
|
|
|
image: "openmaptiles/import-sql"
|
2016-10-06 05:45:00 +00:00
|
|
|
env_file: .env
|
|
|
|
links:
|
|
|
|
- postgres
|
2016-10-23 15:36:48 +00:00
|
|
|
volumes:
|
|
|
|
- ./build:/sql
|
2016-10-06 05:45:00 +00:00
|
|
|
mapbox-studio:
|
|
|
|
image: "osm2vectortiles/mapbox-studio"
|
|
|
|
volumes:
|
2016-10-23 15:36:48 +00:00
|
|
|
- ./build/openmaptiles.tm2source:/projects/openmaptiles.tm2source
|
2016-10-06 05:45:00 +00:00
|
|
|
links:
|
|
|
|
- postgres:db
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
2016-10-30 15:31:38 +00:00
|
|
|
generate-vectortiles:
|
2016-10-24 19:49:23 +00:00
|
|
|
image: "openmaptiles/generate-vectortiles"
|
2016-10-08 20:04:12 +00:00
|
|
|
volumes:
|
|
|
|
- ./data:/export
|
2016-10-23 15:36:48 +00:00
|
|
|
- ./build/openmaptiles.tm2source:/tm2source
|
2016-10-08 20:04:12 +00:00
|
|
|
links:
|
|
|
|
- postgres:postgres
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
#BBOX: "8.25,46.97,9.58,47.52"
|
|
|
|
#BBOX: "5.97,45.75,10.7,47.72"
|
|
|
|
MIN_ZOOM: "0"
|
|
|
|
MAX_ZOOM: "7"
|