globals:
  cache:
    base_dir: cache_data/

services:
  tms:
  wms:
    md:
      title: MapProxy test fixture

layers:
  - name: mb
    title: TMS Cache Layer
    sources: [mb_cache]

caches:
  mb_cache:
    cache:
      type: mbtiles
      filename: ./cache.mbtiles
      tile_lock_dir: ./testlockdir
    sources: [tms]

sources:
  tms:
    type: tile
    url: http://localhost:42423/tiles/%(tc_path)s.png

