forked from OpenUpSA/wazimap-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
36 lines (36 loc) · 839 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
{
"scripts": {
"dokku": {
"predeploy": "/app/scripts/django/predeploy.sh"
}
},
"stack": "container",
"environments": {
"review": {
"addons": ["heroku-postgresql:mini"],
"env": {
"DJANGO_CONFIGURATION": "Production",
"DJANGO_DEBUG": "False",
"DJANGO_SECRET_KEY": "not-so-secret-in-review",
"RUN_COLLECTSTATIC": "Yes",
"RUN_GUNICORN": "Yes",
"RUN_MIGRATIONS": "Yes",
"RUN_QCLUSTER": "Yes",
"SERVER_INSTANCE": "review"
},
"formation": {
"web": {
"quantity": 1,
"size": "eco"
},
"worker": {
"quantity": 1,
"size": "eco"
}
},
"scripts": {
"postdeploy": "python manage.py migrate && python manage.py loaddata demodata"
}
}
}
}