-
Notifications
You must be signed in to change notification settings - Fork 8
/
app.json
104 lines (100 loc) · 2.72 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "RCVIS",
"description": "Ranked Choice Voting Visualization",
"keywords": [
],
"website": "https://www.rcvis.com/",
"repository": "https://github.com/artoonie/rcvis",
"logo": "https://rcvis.com/static/visualizer/logo.png",
"formation": {
"web": {
"quantity": 1,
"size": "hobby"
}
},
"image": "heroku/python",
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "13"
}
}
],
"env": {
"OFFLINE_MODE": "False",
"RCVIS_DEBUG": "False",
"DISABLE_COLLECTSTATIC": "1",
"MAGICK_CONFIGURE_PATH": "/app/infra/.magick",
"MOVIE_FONT_NAME": "AvantGarde-Book",
"IMAGEIO_FFMPEG_EXE": "/app/vendor/ffmpeg/ffmpeg",
"AWS_POLLY_STORAGE_BUCKET": {
"description": "AWS bucket name for AWS Polly Speech Synth",
"required": true
},
"HEROKU_API_KEY": {
"description": "Required to scale up dynos for movie gen",
"required": true
},
"HEROKU_APP_NAME": {
"description": "Required to know the API endpoint to scale dynos",
"required": true
},
"HEROKU_WORKER_DYNO_TYPE": {
"description": "Which dyno type to use for movie gen?",
"required": true
}
},
"buildpacks": [
{ "url": "heroku/chromedriver" },
{ "url": "heroku/google-chrome" },
{ "url": "heroku/nodejs" },
{ "url": "heroku/python" },
{ "url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest" },
{ "url": "https://github.com/epicatization/heroku-buildpack-imagemagick-heif" },
{ "url": "https://github.com/artoonie/saucelabs-proxy-buildpack.git" }
],
"environments": {
"test": {
"scripts": {
"test": "./scripts/run-tests.sh"
},
"env": {
"RCVIS_SECRET_KEY": {
"generator": "secret"
},
"OFFLINE_MODE": "True",
"RCVIS_DEBUG": "True",
"RCVIS_HOST": "localhost",
"MAGICK_CONFIGURE_PATH": "/app/infra/.magick",
"MOVIE_FONT_NAME": "AvantGarde-Book",
"IMAGEIO_FFMPEG_EXE": "/app/vendor/ffmpeg/ffmpeg",
"HEROKU_WORKER_DYNO_TYPE": "free"
}
},
"review": {
"scripts": {
"test": "./scripts/run-tests.sh"
},
"env": {
"RCVIS_SECRET_KEY": {
"generator": "secret"
},
"OFFLINE_MODE": "False",
"RCVIS_DEBUG": "False",
"DISABLE_COLLECTSTATIC": "1",
"RCVIS_HOST": "localhost",
"MAGICK_CONFIGURE_PATH": "/app/infra/.magick",
"MOVIE_FONT_NAME": "AvantGarde-Book",
"IMAGEIO_FFMPEG_EXE": "/app/vendor/ffmpeg/ffmpeg",
"HEROKU_WORKER_DYNO_TYPE": "free"
},
"formation": {
"web": {
"quantity": 1,
"size": "free"
}
}
}
}
}