-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
75 lines (75 loc) · 1.78 KB
/
app.json
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "puppeteer-ssr",
"description": "Server-Side-Rendering using Puppeteer",
"keywords": [
"ssr",
"prerender",
"chrome"
],
"repository": "https://github.com/InventivetalentDev/puppeteer-ssr",
"buildpacks": [
{
"url": "https://github.com/heroku/heroku-buildpack-google-chrome.git"
},
{
"url": "heroku/nodejs"
}
],
"env": {
"TOKEN": {
"description": "authentication token",
"required": false
},
"GOOGLE_CHROME_BIN": {
"description": "chrome location, set by the chrome buildpack when running on heroku",
"required": false
},
"REDISCLOUD_URL": {
"description": "redis url",
"required": false
},
"MEMORY_CACHE_DURATION": {
"description": "time (seconds) to keep rendered pages in memory",
"value": "60",
"required": false
},
"REDIS_CACHE_DURATION": {
"description": "time (minutes) to keep rendered pages in redis",
"value": "15",
"required": false
},
"USER_AGENT": {
"description": "string to append to default crawler user-agent",
"required": false
},
"REMOVE_SCRIPTS": {
"description": "whether to remove <script> tags after render",
"required": false,
"value": "false"
},
"REMOVE_SELECTORS": {
"description": "comma-separated list of selectors to remove from the DOM",
"required": false
},
"GOTO_TIMEOUT": {
"value": "3000",
"required": false
},
"REQUESTS_TIMEOUT": {
"value": "500",
"required": false
},
"RENDER_TIMEOUT": {
"value": "30000",
"required": false
},
"PROCESSING_INTERVAL": {
"value": "500",
"required": false
},
"MAX_CONCURRENT": {
"value": "5",
"required": false
}
}
}