Updated docker-renderd-osm
 
 
 
 
 
Go to file
Vitaliy Filippov 756e6cb120 Allow to override host and port 2018-03-29 12:11:50 +03:00
apache2 Change the timeout to 1800 seconds 2014-11-23 02:28:07 +01:00
etc Upgrade image to Debian Stretch, osm-carto 4.8.0, osm-bright 2016-07-25, mod_tile 2017-01-08 2018-03-10 12:38:42 +03:00
renderd Allow to override host and port 2018-03-29 12:11:50 +03:00
Dockerfile Readme 2018-03-29 02:45:06 +03:00
README.md Allow to override host and port 2018-03-29 12:11:50 +03:00
runit_bootstrap Upgrade image to Debian Stretch, osm-carto 4.8.0, osm-bright 2016-07-25, mod_tile 2017-01-08 2018-03-10 12:38:42 +03:00
tile.load Initial commit 2014-11-16 21:27:19 +01:00

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 vitalif/renderd-osm github.com/vitalif/docker-renderd-osm.git

Running

This container is designed to work with an PostgreSQL instance with PostGIS and osm2pgsql loaded database (for example, openfirmware/docker-postgres-osm + openfirmware/docker-osm2pgsql).

To run this container with local PostgreSQL (not docker-packaged):

docker run --name renderd -it -d -p 8096:80 \
    -v /var/run/postgresql:/var/run/postgresql \
    --env PG_ENV_OSM_USER=<user> \
    --env PG_ENV_OSM_DB=<database> \
    --env PG_ENV_OSM_PASSWORD=<password> vitalif/renderd-osm

To run with postgresql from another docker container:

docker run --name renderd -it -d -p 8096:80 \
    --link postgres-osm:pg \
    --env PG_ENV_OSM_USER=<user> \
    --env PG_ENV_OSM_DB=<database> \
    --env PG_ENV_OSM_PASSWORD=<password> vitalif/renderd-osm

Also you may override host and port with PG_ENV_OSM_HOST and PG_ENV_OSM_PORT.

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:8096/osm/0/0/0.png

Available Styles

About

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