Files
openstreetmap-mod_tile-pyth…/etc/renderd/renderd.conf.examples
Hummeltech 09e7fa1d43 Allow host:port specification for MemcacheD storage backend (#369)
So that MemcacheD hosts and ports other than `localhost` and `11211` can be used.

_Also_:
- Added `ctest --parallel` execution support
- Added tests for custom `MemcacheD` {host}:{port}
- Added tests for `AddTileConfig`/`AddTileMimeConfig`
2024-01-10 16:33:08 -07:00

97 lines
3.5 KiB
Plaintext

; EXAMPLES FOR BASIC CONFIGURATION OPTIONS
[renderd]
pid_file=/run/renderd/renderd.pid
stats_file=/run/renderd/renderd.stats
socketname=/run/renderd/renderd.sock
num_threads=4
tile_dir=/var/cache/renderd/tiles
;[renderd]
;iphostname=::1
;ipport=7654
;num_threads=4
;tile_dir=rados://tiles/etc/ceph/ceph.conf
;pid_file=/run/renderd/renderd_rados.pid
;stats_file=/run/renderd/renderd.stats
;[renderd]
;iphostname=::1
;ipport=7654
;num_threads=8
;tile_dir=memcached:// ; Defaults to "localhost:11211" when host:port is not specified
;pid_file=/run/renderd/renderd_memcached.pid
;stats_file=/run/renderd/renderd.stats
;[renderd]
;iphostname=::1
;ipport=7654
;num_threads=8
;tile_dir=memcached://memcached_host:11212 ; You may also specify a custom host:port
;pid_file=/run/renderd/renderd_memcached.pid
;stats_file=/run/renderd/renderd.stats
; EXAMPLE FOR MAPNIK CONFIGURATION OPTION
[mapnik]
plugins_dir=/usr/lib/mapnik/3.0/input
font_dir=/usr/share/fonts/truetype
font_dir_recurse=true
; EXAMPLES FOR LAYER CONFIGURATION OPTIONS
[example-map]
URI=/tiles/renderd-example
XML=/var/www/example-map/mapnik.xml
;[style1]
;URI=/osm_tiles/
;TILEDIR=/var/cache/renderd/tiles
;XML=/usr/share/renderd/openstreetmap/osm-local.xml
;HOST=tile.openstreetmap.org
;TILESIZE=256
;HTCPHOST=proxy.openstreetmap.org
;** config options used by mod_tile, but not renderd **
;MINZOOM=0
;MAXZOOM=18
;TYPE=png image/png png256 ; Values are: <extension> <mime-type> <output-format> (for more information about output format see https://github.com/mapnik/mapnik/wiki/Image-IO)
;DESCRIPTION=This is a description of the tile layer used in the tile json request
;ATTRIBUTION=&copy;<a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> and <a href=\"http://wiki.openstreetmap.org/wiki/Contributors\">contributors</a>, <a href=\"http://opendatacommons.org/licenses/odbl/\">ODbL</a>
;SERVER_ALIAS=http://localhost/
;CORS=http://www.openstreetmap.org
;ASPECTX=1
;ASPECTY=1
;SCALE=1.0
;[style2]
;URI=/osm_tiles2/
;TILEDIR=rados://tiles/etc/ceph/ceph.conf
;TILESIZE=512
;XML=/usr/share/renderd/openstreetmap/osm-local2.xml
;HOST=tile.openstreetmap.org
;HTCPHOST=proxy.openstreetmap.org
;** config options used by mod_tile, but not renderd **
;MINZOOM=0
;MAXZOOM=22
;TYPE=png image/png png256 ; Values are: <extension> <mime-type> <output-format> (for more information about output format see https://github.com/mapnik/mapnik/wiki/Image-IO)
;DESCRIPTION=This is a description of the tile layer used in the tile json request
;ATTRIBUTION=&copy;<a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> and <a href=\"http://wiki.openstreetmap.org/wiki/Contributors\">contributors</a>, <a href=\"http://opendatacommons.org/licenses/odbl/\">ODbL</a>
;SERVER_ALIAS=http://localhost/
;CORS=*
;[style3]
;URI=/osm_tiles3/
;TILEDIR=memcached://
;TILESIZE=512
;XML=/usr/share/renderd/openstreetmap/osm-local3.xml
;HOST=tile.openstreetmap.org
;HTCPHOST=proxy.openstreetmap.org
;** config options used by mod_tile, but not renderd **
;MINZOOM=0
;MAXZOOM=22
;TYPE=png image/png png256 ; Values are: <extension> <mime-type> <output-format> (for more information about output format see https://github.com/mapnik/mapnik/wiki/Image-IO)
;DESCRIPTION=This is a description of the tile layer used in the tile json request
;ATTRIBUTION=&copy;<a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> and <a href=\"http://wiki.openstreetmap.org/wiki/Contributors\">contributors</a>, <a href=\"http://opendatacommons.org/licenses/odbl/\">ODbL</a>
;SERVER_ALIAS=http://localhost/
;CORS=*