Procfile 452 B

1234567891011121314
  1. web: bin/heroku-web
  2. worker: bundle exec sidekiq
  3. # For the streaming API, you need a separate app that shares Postgres and Redis:
  4. #
  5. # heroku create
  6. # heroku buildpacks:add heroku/nodejs
  7. # heroku config:set RUN_STREAMING=true
  8. # heroku addons:attach <main-app>::DATABASE
  9. # heroku addons:attach <main-app>::REDIS
  10. #
  11. # and let the main app use the separate app:
  12. #
  13. # heroku config:set STREAMING_API_BASE_URL=wss://<streaming-app>.herokuapp.com -a <main-app>