Make tileset def openmaptiles.yaml a variable (#968)

Move the hard coded `openmaptiles.yaml` from Makefile to a variable. Allows use other tileset definition.
A step forward easy alternative layer definition.
This commit is contained in:
Frédéric Rodrigo
2020-08-27 18:43:09 +02:00
committed by GitHub
parent 1daacf354e
commit 10efc29280
3 changed files with 16 additions and 10 deletions

View File

@@ -83,7 +83,7 @@ services:
postserve:
image: "openmaptiles/openmaptiles-tools:${TOOLS_VERSION}"
command: "postserve openmaptiles.yaml --verbose --serve=${OMT_HOST:-localhost}:${PPORT:-8090}"
command: "postserve ${TILESET_FILE} --verbose --serve=${OMT_HOST:-localhost}:${PPORT:-8090}"
env_file: .env
networks:
- postgres_conn