瀏覽代碼
fix: make Procfile compatible with herokuish (#12685)
Co-authored-by: Aurelia <aurelia@serenitylabs.cloud>
tags/v3.3.0rc1
Aurelia
7 月之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key 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 |
|
|
|
|
|
|
|
# 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 |