openreplay/ee/api/entrypoint.sh
Kraiem Taha Yassine 8226e66299
Api v1.14.0 (#1391)
* refactored(chalice): refactored restore user
refactored(chalice): refactored add user

* fix(chalice): allow FastAPI to handel async automatically
fix(chalice): EE support of multiworkers
refactor(chalice): cleaned SSO

* fix(chalice): allow FastAPI to handel async automatically

* feat(DB): associate sessions to feature-flags

* feat(DB): CH associate sessions to feature-flags
2023-07-06 18:13:06 +02:00

7 lines
No EOL
261 B
Bash
Executable file

#!/bin/sh
sh env_vars.sh
source /tmp/.env.override
#uvicorn app:app --host 0.0.0.0 --port $LISTEN_PORT --proxy-headers
NB_WORKERS="${NB_WORKERS:=4}"
gunicorn app:app --workers $NB_WORKERS --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$LISTEN_PORT