56 строки
1.0 KiB
JSON
56 строки
1.0 KiB
JSON
{
|
|
"name": "network-pulse-api",
|
|
"env": {
|
|
"HEROKU_APP_NAME": {
|
|
"required": true
|
|
},
|
|
"SECRET_KEY": {
|
|
"generator": "secret"
|
|
},
|
|
"AWS_ACCESS_KEY_ID": {
|
|
"required": true
|
|
},
|
|
"AWS_S3_CUSTOM_DOMAIN": {
|
|
"required": true
|
|
},
|
|
"AWS_SECRET_ACCESS_KEY": {
|
|
"required": true
|
|
},
|
|
"AWS_STORAGE_BUCKET_NAME": {
|
|
"required": true
|
|
},
|
|
"AWS_STORAGE_ROOT": {
|
|
"required": true
|
|
},
|
|
"CORS_ORIGIN_REGEX_WHITELIST": {
|
|
"required": true
|
|
},
|
|
"CORS_ORIGIN_WHITELIST": {
|
|
"required": true
|
|
},
|
|
"CSRF_TRUSTED_ORIGINS": {
|
|
"required": true
|
|
},
|
|
"GITHUB_TOKEN": {
|
|
"required": true
|
|
},
|
|
"SLACK_WEBHOOK_RA": {
|
|
"required": true
|
|
},
|
|
"USE_S3": "True",
|
|
"SSL_PROTECTION": "False",
|
|
"DEBUG": "True"
|
|
},
|
|
"addons": [
|
|
"heroku-postgresql:hobby-dev"
|
|
],
|
|
"buildpacks": [
|
|
{
|
|
"url": "heroku/python"
|
|
}
|
|
],
|
|
"scripts": {
|
|
"postdeploy": "python manage.py load_fake_data && python manage.py review_app_admin"
|
|
}
|
|
}
|