build: create heroku.yml file

This commit is contained in:
pablohashescobar 2022-12-04 23:45:41 +05:30
parent 74d66cec6a
commit 7f91ad9285

19
heroku.yml Normal file
View File

@ -0,0 +1,19 @@
setup:
addons:
- plan: heroku-postgresql
as: DATABASE
- plan: heroku-redis
as: REDIS
config:
env_file: .env
build:
docker:
plane_web: ./apps/app/Dockerfile.web
plane_api: ./apiserver/Dockerfile.api
release:
plane_api: python manage.py migrate
run:
plane_web: node apps/app/server.js
plane_api: ./bin/takeoff