forked from zavpyj/osm-tiles-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
osm.yml
27 lines (26 loc) · 1.11 KB
/
osm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: '2'
services:
app-osm:
build: .
image: zavpyj/osm-tiles
volumes:
- ./bretagne-latest.osm.pbf:/tmp/import.osm.pbf
environment:
OSM_IMPORT_FILE: '/tmp/import.osm.pbf'
OSM_IMPORT_CACHE: '8000'
OSM_RENDER_MIN_ZOOM: '10'
OSM_RENDER_MAX_ZOOM: '19'
OSM_RENDER_THREADS: 4
OSM_RENDER_X_MIN: -1.73318
OSM_RENDER_X_MAX: -1.56313
OSM_RENDER_Y_MIN: 48.07221
OSM_RENDER_Y_MAX: 48.14671
# To restrict acces according to specific keys in QUERY_STRING
# (in URLs like http://osmserver_hostname:osmserver_port/osm_tiles/{z}/{x}/{y}.png?keyId=abcdefghijklmnopqrstuvwxyz1234567890 - see sample file "test_with_keyId.html"),
# use OSM_WEB_AUTHORIZED_IDS (multiple values must be pipe ('|') separated):
#OSM_WEB_AUTHORIZED_IDS: 'abcdefghijklmnopqrstuvwxyz1234567890|another_id'
# To restrict acces according to specific HTTP REFERERS, use OSM_WEB_AUTHORIZED_REFERERS (multiple values must be pipe ('|') separated):
#OSM_WEB_AUTHORIZED_REFERERS: 'www.example.com|www.example2.com'
ports:
- '80:80'
command: 'start'