Updated docker-renderd-osm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Vitaliy Filippov 6ac9ea88af Support only updating .osm.pbf without DB 3 years ago
apache2 Fix osm-bright to work with newer osm-carto DB 3 years ago
etc Upgrade image to Debian Stretch, osm-carto 4.8.0, osm-bright 2016-07-25, mod_tile 2017-01-08 3 years ago
renderd PostGIS async 3 years ago
Dockerfile Update osm-carto to 4.16.0 3 years ago
README.md URL_LATEST, URL_UPDATES env 3 years ago
openstreetmap-carto.lua.diff OMS loader/updater script 3 years ago
osm-loader.pl Support only updating .osm.pbf without DB 3 years ago
runit_bootstrap Upgrade image to Debian Stretch, osm-carto 4.8.0, osm-bright 2016-07-25, mod_tile 2017-01-08 3 years ago
tile.load Initial commit 7 years ago

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_HOST=<db_host> \
    --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_HOST=<db_host> \
    --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, and listen address/port with RENDERD_LISTEN_ADDR (default is 0.0.0.0:80).

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

Loading and updating OSM data

Use osm-loader.pl (Russia by now).

Available Styles

About

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