forked from kartotherian/kartotherian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.labs.yaml
48 lines (41 loc) · 1.15 KB
/
config.labs.yaml
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
# Number of worker processes to spawn.
# Set to 0 to run everything in a single process without clustering.
# Use 'ncpu' to run as many workers as there are CPU units
num_workers: ncpu
# Log error messages and gracefully restart a worker if v8 reports that it
# uses more heap (note: not RSS) than this many mb.
worker_heap_limit_mb: 500
# Logger info
logging:
level: trace
# streams:
# # Use gelf-stream -> logstash
# - type: gelf
# host: logstash1003.eqiad.wmnet
# port: 12201
# Statsd metrics reporter
metrics:
type: log
#host: localhost
#port: 8125
services:
- name: kartotherian
# a relative path or the name of an npm package, if different from name
module: ./app.js
# optionally, a version constraint of the npm package
# version: ^0.4.0
# per-service config
conf:
port: 6533
cache: public, s-maxage=36000, max-age=30
sources:
v1:
tm2source: ./map/osm-bright.tm2source/data.xml
generate: true
saveGenerated: true
cacheBaseDir: ./vectors
styles:
s1:
tm2: ["osm-bright-style", "project.xml"]
source: v1
public: true