forked from mojodna/marblecutter-virtual
-
Notifications
You must be signed in to change notification settings - Fork 10
/
up.json.hbs
38 lines (38 loc) · 835 Bytes
/
up.json.hbs
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
{
"name": "marblecutter-virtual",
"description": "On-demand tiling of arbitrary remote COGs",
"lambda": {
"memory": 1536
},
"regions": ["us-east-1"],
"headers": {
"/*": {
"Cache-Control": "max-age=31536000"
}
},
"hooks": {
"build": "make deps/deps.tgz && tar zxf deps/deps.tgz",
"clean": "rm -rf .pypath/ lib/ lib64/ share/"
},
"proxy": {
"command": "python -S app.py",
"backoff": {
"attempts": 1
},
"timeout": 15
},
"environment": {
"CPL_TMPDIR": "/tmp",
"GDAL_CACHEMAX": "512",
"GDAL_DISABLE_READDIR_ON_OPEN": "TRUE",
"GDAL_HTTP_MERGE_CONSECUTIVE_RANGES": "YES",
"GDAL_HTTP_VERSION": "2",
"VSI_CACHE": "TRUE",
"VSI_CACHE_SIZE": "536870912"
},
"stages": {
"production": {
"domain": "{{ PRODUCTION_DOMAIN }}"
}
}
}