Sign inSign up

dmadk/tiler-service

By dmadk

Updated almost 8 years ago

Dockerized TilerService

Image
1

1.0K

dmadk/tiler-service repository overview

TilerService Docker

A dockerized image of the TilerService.

Prerequisites

  • Docker
  • A file called application.properties
  • A license key for MapTiler Pro

Configuration

The application.properties file must at least contain the following lines:

mapTiler.license = <license key for MapTiler Pro>
mapTiler.arguments = <arguments for MapTiler Pro>

tiles.hostDirectory = <the absolute path to the directory where images to be tiled are stored>

The variable tracing can be set to false to disable detailed tracing. It is by default set to true.

Execution

Before you run the container you must pull the image for the MapTiler Pro container, TileServer and Satellite Consumer:

docker pull klokantech/maptiler
docker pull klokantech/tileserver-php
docker pull dmadk/satellite-consumer:latest
docker pull dmadk/satellite-consumer:newest

To run the container you can do it the following way:

docker run --name tiler-service -v /var/run/docker.sock:/var/run/docker.sock \
-v $HOME/data:/data/tiles \
-v <where you stored application.properties>/application.properties:/data/properties/application.properties \
dmadk/tiler-service

The reason why the container needs to mount the Docker socket is because it needs to be able to start MapTiler Pro and the satellite image consumer in seperate containers.

Tag summary

Content type

Image

Digest

Size

263.8 MB

Last updated

almost 8 years ago

docker pull dmadk/tiler-service