A basic image for rendering/serving tiles using OpenStreetMap data from an external PostgreSQL instance.
Shell
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.
apache2
renderd Add providing pg password as env var Mar 19, 2018
Dockerfile
README.md
runit_bootstrap
tile.load

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