From 9eb305fc4459b2ce97d517d2553a33cbe13562e9 Mon Sep 17 00:00:00 2001 From: Bump-Action <208143391+Bump-Action@users.noreply.github.com> Date: Sat, 22 Nov 2025 19:43:13 +0300 Subject: [PATCH 1/2] fix: enable uwsgi EXTRA_ARGS passthrough --- docker/entrypoint-uwsgi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint-uwsgi.sh b/docker/entrypoint-uwsgi.sh index f15f2b49958..16b91a857bc 100755 --- a/docker/entrypoint-uwsgi.sh +++ b/docker/entrypoint-uwsgi.sh @@ -27,7 +27,7 @@ python3 manage.py check DD_UWSGI_LOGFORMAT_DEFAULT='[pid: %(pid)|app: -|req: -/-] %(addr) (%(dd_user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core))' -EXTRA_ARGS="" +EXTRA_ARGS="${EXTRA_ARGS:-}" if [ -n "${DD_UWSGI_MAX_FD}" ]; then EXTRA_ARGS="${EXTRA_ARGS} --max-fd ${DD_UWSGI_MAX_FD}" fi From 840edf5146d023171c7741b2b15a19d7ebf1b349 Mon Sep 17 00:00:00 2001 From: Bump-Action <208143391+Bump-Action@users.noreply.github.com> Date: Fri, 28 Nov 2025 12:23:34 +0300 Subject: [PATCH 2/2] fix: rename EXTRA_ARGS to DD_UWSGI_EXTRA_ARGS --- docker/entrypoint-uwsgi.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/entrypoint-uwsgi.sh b/docker/entrypoint-uwsgi.sh index 16b91a857bc..0628ab3390a 100755 --- a/docker/entrypoint-uwsgi.sh +++ b/docker/entrypoint-uwsgi.sh @@ -27,9 +27,9 @@ python3 manage.py check DD_UWSGI_LOGFORMAT_DEFAULT='[pid: %(pid)|app: -|req: -/-] %(addr) (%(dd_user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core))' -EXTRA_ARGS="${EXTRA_ARGS:-}" +DD_UWSGI_EXTRA_ARGS="${DD_UWSGI_EXTRA_ARGS:-}" if [ -n "${DD_UWSGI_MAX_FD}" ]; then - EXTRA_ARGS="${EXTRA_ARGS} --max-fd ${DD_UWSGI_MAX_FD}" + DD_UWSGI_EXTRA_ARGS="${DD_UWSGI_EXTRA_ARGS} --max-fd ${DD_UWSGI_MAX_FD}" fi exec uwsgi \ @@ -42,5 +42,5 @@ exec uwsgi \ --buffer-size="${DD_UWSGI_BUFFER_SIZE:-8192}" \ --http 0.0.0.0:8081 --http-to "${DD_UWSGI_ENDPOINT}" \ --logformat "${DD_UWSGI_LOGFORMAT:-$DD_UWSGI_LOGFORMAT_DEFAULT}" \ - $EXTRA_ARGS + $DD_UWSGI_EXTRA_ARGS # HTTP endpoint is enabled for Kubernetes liveness checks. It should not be exposed as a service.