Skip to content

Commit 8630afb

Browse files
acuteauraAurelia
and
Aurelia
authored
fix: make Procfile compatible with herokuish (#12685)
Co-authored-by: Aurelia <[email protected]>
1 parent 64ef37b commit 8630afb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
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
1+
web: bin/heroku-web
22
worker: bundle exec sidekiq
33

44
# For the streaming API, you need a separate app that shares Postgres and Redis:

bin/heroku-web

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
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 commit comments

Comments
 (0)