build: update background worker container name and create app.json for heroku deployments

This commit is contained in:
pablohashescobar 2022-12-13 21:30:50 +05:30
parent 0bc33ab9c8
commit 5eea5529ed
3 changed files with 18 additions and 2 deletions

16
app.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "Plane",
"description": "Plane helps you track your issues, epics, and product roadmaps.",
"repository": "http://github.com/makeplane/plane",
"logo": "https://avatars.githubusercontent.com/u/115727700?s=200&v=4",
"website": "https://plane.so/",
"success_url": "/",
"stack": "container",
"keywords": ["plane", "project management", "django", "next"],
"addons": ["heroku-postgresql:mini", "heroku-redis:mini"],
"buildpacks": [
{
"url": "https://github.com/heroku/heroku-buildpack-python.git"
}
]
}

View File

@ -74,7 +74,7 @@ services:
plane-worker:
image: plane-api
container_name: plane-bg
container_name: plane-rqworker
depends_on:
- redis
- db

View File

@ -17,4 +17,4 @@ release:
run:
plane-frontend: node apps/app/server.js
plane-backend: ./apiserver/bin/takeoff
plane-worker: python manage.py rqworker
plane-rqworker: ./apiserver/bin/worker