Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix: make Procfile compatible with herokuish (mastodon#12685)
Browse files Browse the repository at this point in the history
Co-authored-by: Aurelia <[email protected]>
  • Loading branch information
acuteaura and Aurelia authored Aug 29, 2020
1 parent 64ef37b commit 8630afb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
web: if [ "$RUN_STREAMING" != "true" ]; then BIND=0.0.0.0 bundle exec puma -C config/puma.rb; else BIND=0.0.0.0 node ./streaming; fi
web: bin/heroku-web
worker: bundle exec sidekiq

# For the streaming API, you need a separate app that shares Postgres and Redis:
Expand Down
2 changes: 2 additions & 0 deletions bin/heroku-web
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
if [ "$RUN_STREAMING" != "true" ]; then BIND=0.0.0.0 bundle exec puma -C config/puma.rb; else BIND=0.0.0.0 node ./streaming; fi

0 comments on commit 8630afb

Please sign in to comment.