mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 00:46:45 +01:00
d8f9d491eb
* Switch to the official Heroku Python buildpack Previously `app.json` was configured to use a custom fork of the Heroku Python buildpack, rather than the official buildpack. The changes between the two are: https://github.com/heroku/heroku-buildpack-python/compare/main...timgl:master This was presumably to pick up this fix:693fcc85b9
...which was since fixed upstream in:a98a87e1bc
* Run Prettier
59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
|
"name": "PostHog - Product Analytics",
|
|
"website": "https://www.posthog.com",
|
|
"repository": "https://github.com/posthog/posthog",
|
|
"logo": "https://posthog.com/images/98771d009c04ff64fc4ba3b31cc46fe8/posthog-icon-color.svg",
|
|
"environments": {
|
|
"review": {
|
|
"scripts": {
|
|
"postdeploy": "python manage.py setup_dev"
|
|
},
|
|
"env": {
|
|
"SELF_CAPTURE": true,
|
|
"SECRET_KEY": {
|
|
"generator": "secret"
|
|
}
|
|
},
|
|
"buildpacks": [{ "url": "heroku/nodejs" }, { "url": "heroku/python" }],
|
|
"formation": {
|
|
"web": {
|
|
"quantity": 1
|
|
},
|
|
"worker": {
|
|
"quantity": 1
|
|
}
|
|
}
|
|
},
|
|
"test": {
|
|
"addons": ["heroku-postgresql:in-dyno"],
|
|
"scripts": {
|
|
"test": "python manage.py test --keepdb -v 2"
|
|
},
|
|
"buildpacks": [{ "url": "heroku/python" }]
|
|
}
|
|
},
|
|
"buildpacks": [{ "url": "heroku/nodejs" }, { "url": "heroku/python" }],
|
|
"addons": [
|
|
"heroku-postgresql",
|
|
{
|
|
"plan": "heroku-redis",
|
|
"options": {
|
|
"maxmemory_policy": "allkeys-lru"
|
|
}
|
|
}
|
|
],
|
|
"formation": {
|
|
"web": {
|
|
"quantity": 1
|
|
},
|
|
"worker": {
|
|
"quantity": 1
|
|
}
|
|
},
|
|
"env": {
|
|
"SECRET_KEY": {
|
|
"generator": "secret"
|
|
}
|
|
}
|
|
}
|