-
Notifications
You must be signed in to change notification settings - Fork 55
/
app.json
42 lines (42 loc) · 1004 Bytes
/
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
{
"name": "RootTheBox CTF Framework",
"description": "A lightweight, easy to deploy CTF framework (in Flask) for HackTheBox style machines.",
"repository": "https://github.com/abs0lut3pwn4g3/RTB-CTF-Framework",
"addons": [
{
"plan": "heroku-postgresql"
},
{
"plan": "heroku-redis"
}
],
"buildpacks": [
{
"url": "heroku/python"
}
],
"env": {
"SECRET_KEY": {
"description": "Flask app instance's SECRET_KEY",
"generator": "secret"
},
"ADMIN_PASS": {
"description": "Administrator password",
"generator": "secret"
},
"ADMIN_EMAIL": {
"description": "Administrator email"
},
"MAIL_USER": {
"description": "Username for mail service",
"required": false
},
"MAIL_PASS": {
"description": "Password for mail service",
"required": false
}
},
"scripts": {
"postdeploy": "cd /app/src && export FLASK_APP='FlaskRTBCTF:create_app()' && sh init_db.sh"
}
}