openmaptiles/docker-compose.yml

120 wiersze
2.6 KiB
YAML
Czysty Zwykły widok Historia

version: "2"
2017-01-06 10:57:40 +00:00
volumes:
pgdata:
cache:
2016-10-06 05:45:00 +00:00
services:
postgres:
2016-12-02 13:02:00 +00:00
image: "openmaptiles/postgis:2.3"
2016-10-06 05:45:00 +00:00
volumes:
2016-11-29 13:06:31 +00:00
- pgdata:/var/lib/postgresql/data
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
2016-10-06 05:45:00 +00:00
ports:
- "5432"
env_file: .env
import-natural-earth:
image: "openmaptiles/import-natural-earth:1.2"
2016-10-06 05:45:00 +00:00
env_file: .env
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
import-water:
image: "openmaptiles/import-water:0.2"
env_file: .env
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
2016-10-28 14:11:26 +00:00
import-lakelines:
image: "openmaptiles/import-lakelines:0.9"
2016-10-28 14:11:26 +00:00
env_file: .env
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
import-osm:
2017-01-18 14:06:44 +00:00
image: "openmaptiles/import-osm:0.3"
2016-10-06 05:45:00 +00:00
env_file: .env
2016-10-24 07:40:14 +00:00
environment:
DIFF_MODE: ${DIFF_MODE}
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
volumes:
- ./data:/import
- ./build:/mapping
- cache:/cache
2017-01-16 19:11:35 +00:00
import-osmborder:
2017-01-16 19:54:14 +00:00
image: "openmaptiles/import-osmborder:0.2"
2017-01-16 19:11:35 +00:00
env_file: .env
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
2017-01-16 09:01:36 +00:00
import-osm-diff:
image: "openmaptiles/import-osm:latest"
env_file: .env
command: ./import_diff.sh
environment:
DIFF_MODE: ${DIFF_MODE}
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
2017-01-16 09:01:36 +00:00
volumes:
- ./data:/import
- ./build:/mapping
- cache:/cache
2017-01-06 14:09:21 +00:00
update-osm:
image: "openmaptiles/import-osm:latest"
env_file: .env
environment:
DIFF_MODE: ${DIFF_MODE}
command: ./import_update.sh
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
2017-01-06 14:09:21 +00:00
volumes:
- ./data:/import
- ./build:/mapping
- cache:/cache
import-sql:
2016-12-02 13:02:00 +00:00
image: "openmaptiles/import-sql:0.1"
2016-10-06 05:45:00 +00:00
env_file: .env
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
volumes:
- ./build:/sql
openmaptiles-tools:
2016-12-06 17:43:32 +00:00
image: "openmaptiles/openmaptiles-tools:latest"
env_file: .env
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
volumes:
2016-12-04 16:11:16 +00:00
- .:/tileset
2017-01-06 10:53:11 +00:00
- ./build:/sql
2016-10-06 05:45:00 +00:00
mapbox-studio:
image: "osm2vectortiles/mapbox-studio"
volumes:
- ./build/openmaptiles.tm2source:/projects/openmaptiles.tm2source
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
2016-10-06 05:45:00 +00:00
ports:
- "3000:3000"
generate-changed-vectortiles:
image: "openmaptiles/generate-vectortiles:0.1"
command: ./export-list.sh
volumes:
- ./data:/export
- ./build/openmaptiles.tm2source:/tm2source
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
env_file: .env
2016-10-30 15:31:38 +00:00
generate-vectortiles:
2016-12-02 13:02:00 +00:00
image: "openmaptiles/generate-vectortiles:0.1"
2016-10-08 20:04:12 +00:00
volumes:
- ./data:/export
- ./build/openmaptiles.tm2source:/tm2source
2017-02-01 21:34:17 +00:00
networks:
- postgres_conn
2016-10-08 20:04:12 +00:00
env_file: .env
environment:
#BBOX: "8.25,46.97,9.58,47.52"
#BBOX: "5.97,45.75,10.7,47.72"
2017-01-06 10:53:11 +00:00
BBOX: ${BBOX}
MIN_ZOOM: ${MIN_ZOOM}
MAX_ZOOM: ${MAX_ZOOM}
2017-02-01 21:34:17 +00:00
networks:
postgres_conn:
driver: bridge