2020-04-22 06:48:57 +00:00
|
|
|
# This file defines default environment variables for all images
|
|
|
|
|
Upgrade to tools v5 - rm import-osm, new downloader... (#785)
Update to tools v5. See https://github.com/openmaptiles/openmaptiles-tools/releases/tag/v5.0.0 for the list of all changes. Other OMT-repo specific changes:
* removes `import-osm` docker usage, replacing it with `openmaptiles-tools`
* quickstart builds faster because it uses postgres with preloaded water, natural earth, and lake centerlines tables.
### Makefile targets
* `tools-dev` will open a shell in a docker to experiment and debug (instead of `import-sql-dev` and `import-osm-dev`)
* separated `start-maputnik` from `start-postserve`
* renamed `clean-docker` into `db-destroy` to make it more explicit
* cleaner `db-start`, `db-stop`, `db-destroy` targets
* `db-start-preloaded` is the same as `db-start`, except that it uses `postgis-preloaded` -- an image with preloaded water, natural-earth, and lake centerline data
* `db-start` will not recreate the container if it already exists -- this way if it was started as preloaded, it will not be rebuilt.
* better output messages
### Quickstart
* uses `postgis-preloaded` image by default to make quickstart quicker. To start with a clean db, pass 2 parameters to quickstart, e.g. `./quickstart.sh albania empty`
2020-05-05 15:53:09 +00:00
|
|
|
# Use 3-part patch version to ignore patch updates, e.g. 5.0.0
|
2020-06-01 16:15:36 +00:00
|
|
|
TOOLS_VERSION=5.2
|
2020-04-22 06:48:57 +00:00
|
|
|
|
Upgrade to tools v5 - rm import-osm, new downloader... (#785)
Update to tools v5. See https://github.com/openmaptiles/openmaptiles-tools/releases/tag/v5.0.0 for the list of all changes. Other OMT-repo specific changes:
* removes `import-osm` docker usage, replacing it with `openmaptiles-tools`
* quickstart builds faster because it uses postgres with preloaded water, natural earth, and lake centerlines tables.
### Makefile targets
* `tools-dev` will open a shell in a docker to experiment and debug (instead of `import-sql-dev` and `import-osm-dev`)
* separated `start-maputnik` from `start-postserve`
* renamed `clean-docker` into `db-destroy` to make it more explicit
* cleaner `db-start`, `db-stop`, `db-destroy` targets
* `db-start-preloaded` is the same as `db-start`, except that it uses `postgis-preloaded` -- an image with preloaded water, natural-earth, and lake centerline data
* `db-start` will not recreate the container if it already exists -- this way if it was started as preloaded, it will not be rebuilt.
* better output messages
### Quickstart
* uses `postgis-preloaded` image by default to make quickstart quicker. To start with a clean db, pass 2 parameters to quickstart, e.g. `./quickstart.sh albania empty`
2020-05-05 15:53:09 +00:00
|
|
|
# Make sure these values are in sync with the ones in .env-postgres file
|
|
|
|
PGDATABASE=openmaptiles
|
|
|
|
PGUSER=openmaptiles
|
|
|
|
PGPASSWORD=openmaptiles
|
|
|
|
PGHOST=postgres
|
|
|
|
PGPORT=5432
|
2020-04-22 06:48:57 +00:00
|
|
|
|
2016-11-27 22:32:03 +00:00
|
|
|
QUICKSTART_MIN_ZOOM=0
|
|
|
|
QUICKSTART_MAX_ZOOM=7
|
2017-05-23 15:06:23 +00:00
|
|
|
DIFF_MODE=false
|
2018-07-27 09:04:08 +00:00
|
|
|
|
|
|
|
BBOX=-180.0,-85.0511,180.0,85.0511
|
|
|
|
MIN_ZOOM=0
|
|
|
|
MAX_ZOOM=14
|
2020-05-24 20:04:05 +00:00
|
|
|
|
2020-05-26 19:37:13 +00:00
|
|
|
# Hide some output from Mapnik tile generation for clarity
|
2020-05-24 20:04:05 +00:00
|
|
|
FILTER_MAPNIK_OUTPUT=1
|
2020-05-26 19:37:13 +00:00
|
|
|
|
|
|
|
# Some area data like openstreetmap.fr can contain invalid references
|
|
|
|
# that must be cleaned up before using it for borders -- set it to true.
|
|
|
|
BORDERS_CLEANUP=false
|