mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-30 19:41:46 +01:00
4ad6a28e60
* Add AUTO_LOG_IN environment variable This will be used when running tests on CI, setting up demo instances and with cypress vcr * Auto log in in review apps, e2e tests This will speed up tests/reviewing significantly * Rename AUTO_LOG_IN to AUTO_LOGIN Co-authored-by: Michael Matloka <dev@twixes.com>
74 lines
2.0 KiB
JSON
74 lines
2.0 KiB
JSON
{
|
|
"name": "PostHog - Product Analytics",
|
|
"website": "https://www.posthog.com",
|
|
"repository": "https://github.com/posthog/posthog",
|
|
"logo": "https://posthog.com/images/36f8ad157f42d4d48dc1de1db45802e1/posthog-icon-color.svg",
|
|
"environments": {
|
|
"review": {
|
|
"scripts": {
|
|
"postdeploy": "python manage.py setup_dev"
|
|
},
|
|
"env": {
|
|
"SELF_CAPTURE": true,
|
|
"SECRET_KEY": {
|
|
"generator": "secret"
|
|
},
|
|
"DEPLOYMENT": "Heroku Review App",
|
|
"AUTO_LOGIN": true
|
|
},
|
|
"buildpacks": [{ "url": "heroku/nodejs" }, { "url": "heroku/python" }],
|
|
"formation": {
|
|
"web": {
|
|
"quantity": 1
|
|
},
|
|
"worker": {
|
|
"quantity": 1
|
|
},
|
|
"celeryworker": {
|
|
"quantity": 0
|
|
},
|
|
"pluginworker": {
|
|
"quantity": 0
|
|
}
|
|
}
|
|
},
|
|
"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
|
|
},
|
|
"celeryworker": {
|
|
"quantity": 0
|
|
},
|
|
"pluginworker": {
|
|
"quantity": 0
|
|
}
|
|
},
|
|
"env": {
|
|
"SECRET_KEY": {
|
|
"generator": "secret"
|
|
},
|
|
"DEPLOYMENT": "Heroku"
|
|
}
|
|
}
|