MarseyWorld/startup_docker_chat.sh

7 lines
286 B
Bash
Raw Normal View History

2023-01-28 14:41:37 +00:00
cd /rDrama
. ./.env
export DATABASE_URL="postgresql://postgres@postgres:5432"
export REDIS_URL="redis://redis:6379"
export PROXY_URL="http://opera-proxy:18080"
gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 --reload