2016-10-23 15:36:48 +00:00
|
|
|
version: "2"
|
2017-01-06 10:57:40 +00:00
|
|
|
volumes:
|
|
|
|
pgdata:
|
2016-10-06 05:45:00 +00:00
|
|
|
services:
|
|
|
|
postgres:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/postgis:${TOOLS_VERSION}"
|
2016-10-06 05:45:00 +00:00
|
|
|
volumes:
|
2019-12-11 14:26:25 +00:00
|
|
|
- pgdata:/var/lib/postgresql/data
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2016-10-06 05:45:00 +00:00
|
|
|
ports:
|
2019-12-11 14:26:25 +00:00
|
|
|
- "5432"
|
2016-10-06 05:45:00 +00:00
|
|
|
env_file: .env
|
2016-10-23 15:36:48 +00:00
|
|
|
import-natural-earth:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/import-natural-earth:${TOOLS_VERSION}"
|
2016-10-06 05:45:00 +00:00
|
|
|
env_file: .env
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2016-10-23 15:36:48 +00:00
|
|
|
import-water:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/import-water:${TOOLS_VERSION}"
|
2016-10-06 06:25:00 +00:00
|
|
|
env_file: .env
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2016-10-28 14:11:26 +00:00
|
|
|
import-lakelines:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/import-lakelines:${TOOLS_VERSION}"
|
2016-10-28 14:11:26 +00:00
|
|
|
env_file: .env
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2016-10-23 15:36:48 +00:00
|
|
|
import-osm:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/import-osm:${TOOLS_VERSION}"
|
2016-10-06 05:45:00 +00:00
|
|
|
env_file: .env
|
2016-10-24 07:40:14 +00:00
|
|
|
environment:
|
2016-12-06 20:18:30 +00:00
|
|
|
DIFF_MODE: ${DIFF_MODE}
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2016-10-23 15:36:48 +00:00
|
|
|
volumes:
|
2019-12-11 14:26:25 +00:00
|
|
|
- ./data:/import
|
|
|
|
- ./build:/mapping
|
2020-03-06 18:15:54 +00:00
|
|
|
- ./cache:/cache
|
2017-01-16 09:01:36 +00:00
|
|
|
import-osm-diff:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/import-osm:${TOOLS_VERSION}"
|
2017-01-16 09:01:36 +00:00
|
|
|
env_file: .env
|
|
|
|
command: ./import_diff.sh
|
|
|
|
environment:
|
|
|
|
DIFF_MODE: ${DIFF_MODE}
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2017-01-16 09:01:36 +00:00
|
|
|
volumes:
|
2019-12-11 14:26:25 +00:00
|
|
|
- ./data:/import
|
|
|
|
- ./build:/mapping
|
2020-03-06 18:15:54 +00:00
|
|
|
- ./cache:/cache
|
2017-01-06 14:09:21 +00:00
|
|
|
update-osm:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/import-osm:${TOOLS_VERSION}"
|
2017-01-06 14:09:21 +00:00
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
DIFF_MODE: ${DIFF_MODE}
|
|
|
|
command: ./import_update.sh
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2017-01-06 14:09:21 +00:00
|
|
|
volumes:
|
2019-12-11 14:26:25 +00:00
|
|
|
- ./data:/import
|
|
|
|
- ./build:/mapping
|
2020-03-06 18:15:54 +00:00
|
|
|
- ./cache:/cache
|
2020-01-22 21:16:38 +00:00
|
|
|
openmaptiles-tools:
|
|
|
|
image: "openmaptiles/openmaptiles-tools:${TOOLS_VERSION}"
|
2017-11-10 20:28:12 +00:00
|
|
|
env_file: .env
|
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2017-11-10 20:28:12 +00:00
|
|
|
volumes:
|
2020-01-22 21:16:38 +00:00
|
|
|
- .:/tileset
|
2020-03-06 18:15:54 +00:00
|
|
|
- ./data:/import
|
2020-01-22 21:16:38 +00:00
|
|
|
- ./build:/sql
|
|
|
|
openmaptiles-tools-latest:
|
|
|
|
# This target exists for experimental tools that have not yet been published.
|
|
|
|
# Do not use this for production.
|
|
|
|
image: "openmaptiles/openmaptiles-tools:latest"
|
2016-12-04 15:50:57 +00:00
|
|
|
env_file: .env
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2016-12-04 15:50:57 +00:00
|
|
|
volumes:
|
2019-12-11 14:26:25 +00:00
|
|
|
- .:/tileset
|
2020-03-06 18:15:54 +00:00
|
|
|
- ./data:/import
|
2019-12-11 14:26:25 +00:00
|
|
|
- ./build:/sql
|
2017-01-16 08:57:23 +00:00
|
|
|
generate-changed-vectortiles:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/generate-vectortiles:${TOOLS_VERSION}"
|
2017-01-16 08:57:23 +00:00
|
|
|
command: ./export-list.sh
|
|
|
|
volumes:
|
2019-12-11 14:26:25 +00:00
|
|
|
- ./data:/export
|
|
|
|
- ./build/openmaptiles.tm2source:/tm2source
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2017-01-16 08:57:23 +00:00
|
|
|
env_file: .env
|
2016-10-30 15:31:38 +00:00
|
|
|
generate-vectortiles:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/generate-vectortiles:${TOOLS_VERSION}"
|
2016-10-08 20:04:12 +00:00
|
|
|
volumes:
|
2019-12-11 14:26:25 +00:00
|
|
|
- ./data:/export
|
|
|
|
- ./build/openmaptiles.tm2source:/tm2source
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2016-10-08 20:04:12 +00:00
|
|
|
env_file: .env
|
|
|
|
environment:
|
2017-01-06 10:53:11 +00:00
|
|
|
BBOX: ${BBOX}
|
|
|
|
MIN_ZOOM: ${MIN_ZOOM}
|
|
|
|
MAX_ZOOM: ${MAX_ZOOM}
|
2017-05-10 22:35:01 +00:00
|
|
|
postserve:
|
2019-12-12 17:40:31 +00:00
|
|
|
image: "openmaptiles/openmaptiles-tools:${TOOLS_VERSION}"
|
|
|
|
command: postserve openmaptiles.yaml --verbose
|
2017-05-10 22:35:01 +00:00
|
|
|
env_file: .env
|
|
|
|
networks:
|
2019-12-11 14:26:25 +00:00
|
|
|
- postgres_conn
|
2017-05-10 22:35:01 +00:00
|
|
|
ports:
|
2019-12-12 17:40:31 +00:00
|
|
|
- "8090:8090"
|
2017-05-10 22:35:01 +00:00
|
|
|
volumes:
|
2019-12-12 17:40:31 +00:00
|
|
|
- .:/tileset
|
2017-05-10 22:35:01 +00:00
|
|
|
|
2017-02-01 21:34:17 +00:00
|
|
|
networks:
|
|
|
|
postgres_conn:
|
|
|
|
driver: bridge
|