-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathapp.json
More file actions
32 lines (32 loc) · 806 Bytes
/
app.json
File metadata and controls
32 lines (32 loc) · 806 Bytes
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
{
"scripts": {
"dokku": {
"predeploy": "PRELOAD_CUBES=false DB_STMT_TIMEOUT=600000 python manage.py migrate --noinput && rm -rf /var/tmp/django_cache"
}
},
"stack": "container",
"environments": {
"review": {
"addons": ["heroku-postgresql:mini"],
"env": {
"DJANGO_DEBUG": "False",
"DJANGO_SECRET_KEY": "not-so-secret-in-review",
"SENTRY_ENVIRONMENT":"staging",
"SITE_ID":"2"
},
"formation": {
"web": {
"quantity": 1,
"size": "eco"
},
"worker": {
"quantity": 1,
"size": "eco"
}
},
"scripts": {
"postdeploy": "python manage.py migrate && python manage.py loaddata demo-household demo-data infra-demo-data seeddata"
}
}
}
}