Skip to content

Commit

Permalink
Fix entrypoint to use websocket commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliaweni committed Dec 28, 2023
1 parent 254764b commit 3bd32b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ if [[ "start" == "$1" ]]; then
--chdir="${PROJECT_PATH}" \
--bind=0.0.0.0:8000 \
-c "${GUNICORN_CONF}"
elif [[ "start-websocket" == "$1" ]]; then
do_gosu "${PROJECT_USER}:${PROJECT_GROUP}" exec daphne -b 0.0.0.0 -p 8000 chats.asgi:application
elif [[ "celery-worker" == "$1" ]]; then
celery_queue="celery"
if [ "${2}" ] ; then
Expand Down

0 comments on commit 3bd32b2

Please sign in to comment.