Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 1.23 KB

DeployServicesHeroku.md

File metadata and controls

46 lines (24 loc) · 1.23 KB

Deploying Bloom Services to Heroku

Bloom is designed to use a set of independently run services that provide the data and business logic processing needed by the front-end apps. While the Bloom architecture accomodates services built and operated in a variety of environments, the reference implementation includes services that can be easily run within the Heroku PaaS environment.

Resources

Heroku Buildpacks

Monorepo Buildpack

Since the Bloom repository uses a monorepo layout, all Heroku services must use the monorepo buildpack.

Node.js Buildpack

Bloom's backend runs on Node.js and Heroku must be setup with Heroku Buildpack for Node.js.

Procfile

release: yarn herokusetup

web: yarn start

Environment Variables

APP_BASE=backend/core

APP_SECRET='YOUR-LONG-SECRET-KEY'

CLOUDINARY_SECRET=

CLOUDINARY_KEY=

DATABASE_URL=

EMAIL_API_KEY='SENDGRID-API-KEY'

PARTNERS_BASE_URL='PARTNER-PORTAL-URL'

REDIS_TLS_URL=

REDIS_URL=

REDIS_USE_TLS=1