forked from osm-seed/osm-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env-tiler.example
More file actions
55 lines (47 loc) · 2.24 KB
/
.env-tiler.example
File metadata and controls
55 lines (47 loc) · 2.24 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ====================================================================================================
# General configuration related to the platform provider and file storage
# ====================================================================================================
#choose the cloud provider, in this case would be docker
CLOUDPROVIDER=docker
# Google Store access
GCP_STORAGE_BUCKET=gs://osm-seed
# AWS Store access
AWS_S3_BUCKET=s3://osm-seed
# ====================================================================================================
# tiler-db env variables
# ====================================================================================================
POSTGRES_HOST=tiler-db
POSTGRES_DB=tiler-osm
POSTGRES_USER=postgres
POSTGRES_PASSWORD=1234
POSTGRES_PORT=5432
# ====================================================================================================
# tiler-imposm evn variables
# TILER_IMPORT_PROM coudl be osm or osmseed
# TILER_IMPORT_PBF_URL Sould be a public file
# ====================================================================================================
TILER_IMPORT_PROM=osm
TILER_IMPORT_PBF_URL='pbf url'
TILER_IMPORT_LIMIT='geojson url'
# ====================================================================================================
# tiler-serve env variables,
# TILER_CACHE_* , by default osmseed-tiler is using aws-s3 for caching the tiles, if you want to change it,
# take a look in: https://github.com/go-spatial/tegola/tree/master/cache
# ====================================================================================================
TILER_SERVER_PORT=9090
TILER_CACHE_TYPE=file
TILER_CACHE_BASEPATH=/mnt/data
TILER_CACHE_MAX_ZOOM=22
## Enable this section In case TILER_CACHE_TYPE=s3
# TILER_CACHE_BUCKET=osmseed-tiler
# TILER_CACHE_BASEPATH=/mnt/data
# TILER_CACHE_REGION=us-east-1
# TILER_CACHE_AWS_ACCESS_KEY_ID=xyz
# TILER_CACHE_AWS_SECRET_ACCESS_KEY=xyz
# ====================================================================================================
# Tiler visor
# ====================================================================================================
TILER_SERVER_HOST=localhost
TILER_VISOR_PROTOCOL=http
TILER_VISOR_HOST=localhost
TILER_VISOR_PORT=8081