Procházet zdrojové kódy

fix: make Procfile compatible with herokuish (#12685)

Co-authored-by: Aurelia <aurelia@serenitylabs.cloud>
tags/v3.3.0rc1
Aurelia před 7 měsíci
committed by GitHub
rodič
revize
8630afb468
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. +1
    -1
      Procfile
  2. +2
    -0
      bin/heroku-web

+ 1
- 1
Procfile Zobrazit soubor

@@ -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:


+ 2
- 0
bin/heroku-web Zobrazit soubor

@@ -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

Načítá se…
Zrušit
Uložit