forked from danielwestendorf/pdf-printer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
73 lines (73 loc) · 1.83 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
{
"name": "PDF Printer service",
"description": "Heroku deployment of a pdf-bot",
"keywords": [
"pdf",
"chrome",
"service",
"heroku",
"pdf-bot"
],
"scripts": {
"postdeploy": "pdf-bot db:migrate -c pdf-bot.config.js"
},
"repository": "https://github.com/danielwestendorf/pdf-printer",
"env": {
"API_TOKEN": {
"description": "A secret key for accessing the printer API.",
"generator": "secret"
},
"AWS_S3_BUCKET": {
"description": "AWS S3 Bucket Name",
"value": "REPLACE_ME"
},
"AWS_S3_ACCESS_KEY_ID": {
"description": "AWS S3 Access Key ID",
"value": "REPLACE_ME"
},
"AWS_S3_SECRET_ACCESS_KEY": {
"description": "AWS S3 Secret Access Key",
"value": "REPLACE_ME"
},
"AWS_S3_REGION": {
"description": "AWS S3 Bucket Region",
"value": "REPLACE_ME"
},
"WEBHOOK_SECRET": {
"description": "Secret to use when sending webhooks",
"generator": "secret"
},
"WEBHOOK_URL": {
"description": "URL to send webhooks to when generation is complete",
"value": "http://example.com/webhooks/pdf"
},
"PARALLELISM": {
"description": "How many parallel renders per worker",
"value": "4"
},
"POLL_INTERVAL": {
"description": "Time interval, in ms, to check the database for new jobs to process",
"value": "100"
},
"RENDER_TIMER": {
"description": "Time, in ms, to wait before pdf capture",
"value": "1000"
},
"NODE_ENV": {
"description": "node env",
"value": "production"
}
},
"addons": [
"heroku-postgresql"
],
"image": "heroku/nodejs",
"buildpacks": [
{
"url": "https://github.com/kwlockwo/heroku-buildpack-google-chrome",
},
{
"url": "https://github.com/heroku/heroku-buildpack-nodejs"
}
]
}