-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.json
59 lines (59 loc) · 2.68 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
{
"name": "ScrapydWeb app (via pip, stable)",
"description": "How to set up Scrapyd cluster on Heroku",
"repository": "https://github.com/my8100/scrapyd-cluster-on-heroku",
"logo": "https://raw.githubusercontent.com/my8100/files/master/scrapydweb/icons/spiderman.png",
"keywords": ["scrapyd", "cluster", "heroku", "scrapy", "scrapyweb", "python", "web-crawling", "web-scraping"],
"env": {
"SCRAPYD_SERVER_1": {
"description": "You can add more Scrapyd servers in the web UI of Heroku after the app is bulit, and the key of the environment variable should be like SCRAPYD_SERVER_n (n for a unique integer).",
"value": "username:password@svr-1.herokuapp.com:80",
"required": true
},
"SCRAPYD_SERVER_2": {
"description": "See SCRAPYD_SERVER_1, type del to ignore the environment variable",
"value": "svr-2.herokuapp.com:80#label",
"required": false
},
"SCRAPYD_SERVER_3": {
"description": "See SCRAPYD_SERVER_1, type del to ignore the environment variable",
"value": "svr-3.herokuapp.com:80#group",
"required": false
},
"SCRAPYD_SERVER_4": {
"description": "See SCRAPYD_SERVER_1, type del to ignore the environment variable",
"value": "svr-4.herokuapp.com:80#group",
"required": false
},
"ENABLE_AUTH": {
"description": "The default is False, set it to True to enable basic auth for web UI.",
"value": "False",
"required": true
},
"USERNAME": {
"description": "In order to enable basic auth, both USERNAME and PASSWORD should be non-empty strings.",
"value": "admin",
"required": true
},
"PASSWORD": {
"description": "In order to enable basic auth, both USERNAME and PASSWORD should be non-empty strings.",
"value": "scrapydweb",
"required": true
},
"TZ": {
"description": "Timezone of the app, get it via: python -c \"import tzlocal; print(tzlocal.get_localzone())\"",
"value": "UTC",
"required": false
},
"VERBOSE": {
"description": "The default is False, set it to True to change the logging level from WARNING to DEBUG.",
"value": "False",
"required": false
},
"DATABASE_URL": {
"description": "The default is unset, set it to \"mysql://username:password@127.0.0.1:3306\" or \"postgres://username:password@127.0.0.1:5432\" to improve concurrency.",
"value": "unset",
"required": false
}
}
}