Image for OSM tile server with compiled mod_tile and renderd
86
This is a simple docker-compose setup for a mapmik and mod_tile based OSM tile server.
To start the servers simply run ./bin/start.sh. The similar stop script shut down the stack.
By default the tile server exposes its port 80 to the host port 9000. After a successful start
the function can be tested in a browser call the following URL http://LOCAL_IP_ADDRESS:9000/tile_test/.
After the very first start the tile server setup doesn't contain any data.
To delete aready rendered tiles it's fine to remove the the content of the host-mounted tile folder.
sudo rm -rf ./volumes/tiles/ajt
To delete the current database it's enough to remove the the host mounted database directory.
sudo rm -rf ./volumes/db
The start script takes care that missing directories are created before the docker stack is started.
To import the data is there an example script in the bin folder. I expects the berlin-latest.osm.pbf
file into the import folder. If other data should be imported, download them from http://download.geofabrik.de/, place them into the import folder and add a seperate import script.
http://download.geofabrik.de/, f.e. http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf./bin/start.sh./bin/importData.sh./bin/restartRenderd.shContent type
Image
Digest
Size
367.5 MB
Last updated
over 7 years ago
docker pull okieoth/mod_tile:0.1