-
Notifications
You must be signed in to change notification settings - Fork 8
/
app.json
131 lines (125 loc) · 3.54 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"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-white.png",
"formation": {
"web": {
"quantity": 1,
"size": "hobby"
}
},
"image": "heroku/python",
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "16"
}
}
],
"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",
"CHROMEDRIVER_PATH": "/app/.chrome-for-testing/chrome-linux64/chrome",
"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
},
"CLOUDFLARE_ZONE_ID": {
"description": "Cloudflare zone ID - required in prod to clear cloudflare cache",
"required": false
},
"CLOUDFLARE_AUTH_TOKEN": {
"description": "Cloudflare auth token - required in prod to clear cloudflare cache",
"required": false
},
"SENDGRID_USERNAME": {
"description": "sendgrid username - required in prod to send user registration emails",
"required": false
},
"SENDGRID_PASSWORD": {
"description": "sendgrid password - required in prod to send user registration emails",
"required": false
}
},
"buildpacks": [
{ "url": "heroku-community/chrome-for-testing" },
{ "url": "heroku/nodejs" },
{ "url": "heroku/python" },
{ "url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest" },
{ "url": "https://github.com/artoonie/heroku-buildpack-imagemagick" },
{ "url": "https://github.com/artoonie/saucelabs-proxy-buildpack.git" }
],
"environments": {
"test": {
"addons": [
"heroku-postgresql:in-dyno"
],
"formation": {
"test": {
"quantity": 3,
"size": "performance-m"
}
},
"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": "basic"
}
}
}
}
}