Skip to content

Commit

Permalink
Fix gunicorn.conf.py path
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliaweni authored and helllllllder committed Jan 11, 2024
1 parent ba0d180 commit 4fe6461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

export GUNICORN_APP=${GUNICORN_APP:-"chats.asgi"}
export GUNICORN_APP=${GUNICORN_APP:-"chats.wsgi"}
export CELERY_APP=${CELERY_APP:-"chats"}
export GUNICORN_CONF=${GUNICORN_CONF:-"${PROJECT_PATH}/docker/gunicorn/gunicorn.conf.py"}
export GUNICORN_CONF=${GUNICORN_CONF:-"${PROJECT_PATH}/gunicorn.conf.py"}
export LOG_LEVEL=${LOG_LEVEL:-"INFO"}
export CELERY_MAX_WORKERS=${CELERY_MAX_WORKERS:-'6'}
# export CELERY_BEAT_DATABASE_FILE=${CELERY_BEAT_DATABASE_FILE:-'/tmp/celery_beat_database'}
Expand Down
2 changes: 0 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,3 @@ EXPOSE 8000

ENTRYPOINT ["bash", "docker-entrypoint.sh"]
CMD ["start"]
# CMD ["sh", "docker-entrypoint.sh"]
# #ENTRYPOINT ["docker-entrypoint.sh"]

0 comments on commit 4fe6461

Please sign in to comment.