Skip to content

Commit

Permalink
Merge pull request #119 from uktrade/feature/resolve-celery
Browse files Browse the repository at this point in the history
update:Gunicorn command to use correct WSGI application path
  • Loading branch information
hareshkainthdbt authored Dec 12, 2024
2 parents 1f9a02c + 7eaa987 commit 150abb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fbr/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"app",
"app.core",
"app.search",
"app.cache.apps.CacheConfig",
"app.cache",
"celery_worker",
]

Expand Down
5 changes: 3 additions & 2 deletions paas_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

set -ex # Prints each command as it runs. If a command fails, it will halt at that point

cd fbr || exit 1
poetry run python manage.py migrate --noinput
poetry run gunicorn config.wsgi --bind "0.0.0.0:$PORT"

# Start the server
poetry run gunicorn fbr.wsgi:application --bind "0.0.0.0:$PORT"

0 comments on commit 150abb8

Please sign in to comment.