Public Repository

Last pushed: 2 months ago
Short Description
Tegola is a Mapbox Vector Tile server written in Go
Full Description

@see http://tegola.io/ for details about tegola.

Example Usage (from https://github.com/terranodo/tegola/blob/v0.6.0/docker/Dockerfile):

To use with local files, add file data sources (i.e. Geopackages) and config as config.toml to a local directory and mount that directory as a volume at /opt/tegola_config/.

Examples:
To display command-line options available:

  1. docker run --rm tegola /opt/tegola -h

Example PostGIS use w/ http-based config:

  1. docker run -p 8080 tegola /opt/tegola --config http://my-domain.com/config serve

Example PostGIS use w/ local config:

  1. mkdir docker-config
  2. cp my-config-file docker-config/config.toml
  3. docker run -v /path/to/docker-config:/opt/tegola_config -p 8080 tegola serve

Example gpkg use:

  1. mkdir docker-config
  2. cp my-config-file docker-config/config.toml
  3. cp my-db.gpkg docker-config/
  4. update docker-config/config.toml with my-db.gpkg located at /opt/tegola_config/my-db.gpkg
  5. docker run -v /path/to/docker-config:/opt/tegola_config -p 8080 tegola serve
Docker Pull Command
Owner
gospatial