Add Flower to track a state of celery tasks and terminate tasks to.
Updated celery to 5.3.6 version
Enable an autoscaling feature for celery workers (from 4 to 12) in dependency of requested tasks to be done
PRODX-37490
Change-Id: I9d410de5fadd2fe254ee2a18a67f56f5a28305a2
diff --git a/testrail_bot/nginx/nginx.conf b/testrail_bot/nginx/nginx.conf
index 5201782..c9d7e5e 100644
--- a/testrail_bot/nginx/nginx.conf
+++ b/testrail_bot/nginx/nginx.conf
@@ -18,4 +18,16 @@
alias /staticfiles/;
}
-}
\ No newline at end of file
+}
+
+server {
+
+ listen 5555;
+
+ location / {
+ proxy_pass http://worker:5555;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header Host $host;
+ proxy_redirect off;
+ }
+}