diff --git a/changelog.d/20241022_194734_faraz.maqsood_uwsgi_workers_not_starting_properly.md b/changelog.d/20241022_194734_faraz.maqsood_uwsgi_workers_not_starting_properly.md new file mode 100644 index 0000000..c5101ae --- /dev/null +++ b/changelog.d/20241022_194734_faraz.maqsood_uwsgi_workers_not_starting_properly.md @@ -0,0 +1 @@ +- [BugFix] Uwsgi workers wasn't starting properly using `UWSGI_WORKERS` flag, passing the value directly fixes the issue. (by @Faraz32123) diff --git a/tutorcredentials/templates/credentials/build/credentials/Dockerfile b/tutorcredentials/templates/credentials/build/credentials/Dockerfile index 6612e4a..4e47ac9 100644 --- a/tutorcredentials/templates/credentials/build/credentials/Dockerfile +++ b/tutorcredentials/templates/credentials/build/credentials/Dockerfile @@ -167,6 +167,6 @@ CMD ["uwsgi", \ "--thunder-lock", \ "--single-interpreter", \ "--enable-threads", \ - "--processes=${UWSGI_WORKERS:-2}", \ + "--processes=2", \ "--buffer-size=8192", \ "--wsgi-file", "credentials/wsgi.py"]