Gopnik is a tile server and a render for slippy map based on mapnik library.
Go CMake C++ CSS Shell JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
sampledata
sampledata_tiles
slave
src Merge branch 'master' into feature/cacheformat Apr 22, 2016
thrift
.gitignore
AUTHORS
Dockerfile
Gomfile
Gomfile.lock
LICENSE
README.md Adding dockerfile. Apr 14, 2016
bench.bash
bootstrap.bash
build.bash
clean.bash
colors.bash
cover.bash
coverage.bash
entrypoint.sh

README.md

GOPNIK

Gopnik is a tile server and a render for slippy map based on mapnik library. See sputnik-maps.github.io/gopnik

BUILD

./bootstrap.bash
./build.bash

BUILD AND RUN USING DOCKER

  • To build an image:

$ docker build -t gopnik .

  • Run gopnik server with example:

$ docker run -it --rm -p 8080:8080 -p 9090:9090 gopnik

To see an example open example/index.html in your favorite browser and zoom out a map to level 1.

Image is exposing volume /gopnik_data/. You can customise configuration by mounting your volume with config.json file inside and other helper stuff, e.g. styles. Also, you can use this image as a base image for your configurations.