A basic image for rendering/serving tiles using OpenStreetMap data from an external PostgreSQL instance.
Shell
Latest commit be8422a Nov 23, 2014 @mguentner Added osm-bright from Mapbox
The osm-carto style is now available at http://host/osm/0/0/0.png
while osm-bright is at http://host/osmb/0/0/0.png

node-millstone is a new dependecy for osm-bright

Currently node-millstone downloads the 10m-populated-places-simple
shapefile which should be done in the Dockerfile (see issue #1).

Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>

README.md

docker-renderd-osm

A basic image for rendering/serving tiles using OpenStreetMap data from an external PostgreSQL instance.

Build instructions

Build using

# docker build -t mguentner/renderd-osm github.com/mguentner/docker-renderd-osm.git

Running

This container is designed to work together with openfirmware/docker-postgres-osm. This document assumes that OpenStreetMap data has already been imported. If not build/pull openfirmware/docker-osm2pgsql and follow the instructions.

First, start the already configured PostgreSQL container:

# docker start postgres-osm

Now, start the renderd container and link them together:

# docker run -i -t -p 8080:80 --link postgres-osm:pg  mguentner/renderd-osm:latest

Once the container is up you should be able to see a small map of the world once you point your browser to http://127.0.0.1:8080/osm/0/0/0.png

Available Styles

About

This Dockerfile has been put together using the Debian Tileserver Install Guide