소스 검색
fix: make Procfile compatible with herokuish (#12685)
Co-authored-by: Aurelia <aurelia@serenitylabs.cloud>
tags/v3.3.0rc1
Aurelia
7 달 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
2개의 변경된 파일과
3개의 추가작업 그리고
1개의 파일을 삭제
-
Procfile
-
bin/heroku-web
|
|
@@ -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 |
|
|
worker: bundle exec sidekiq |
|
|
|
|
|
|
|
|
# For the streaming API, you need a separate app that shares Postgres and Redis: |
|
|
# For the streaming API, you need a separate app that shares Postgres and Redis: |
|
|
|
|
|
@@ -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 |