From 072375fe07c096192f1d7dd899c93fbc55c2daa1 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Fri, 21 May 2021 11:29:18 +0530 Subject: [PATCH] fix: add WORKER_CLASS under erpnext-python in docker-compose.yml --- docker-compose.yml | 1 + env-local | 1 + env-production | 1 + 3 files changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1a63f631..5ca8569b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,6 +59,7 @@ services: - REDIS_SOCKETIO=redis-socketio:6379 - SOCKETIO_PORT=9000 - AUTO_MIGRATE=1 + - WORKER_CLASS=${WORKER_CLASS} volumes: - sites-vol:/home/frappe/frappe-bench/sites:rw - assets-vol:/home/frappe/frappe-bench/sites/assets:rw diff --git a/env-local b/env-local index 639bbb54..821c23ea 100644 --- a/env-local +++ b/env-local @@ -15,3 +15,4 @@ HTTPS_REDIRECT_ENTRYPOINT_LABEL=erpnext.local.no-entrypoint HTTPS_REDIRECT_MIDDLEWARE_LABEL=erpnext.local.no-middleware HTTPS_USE_REDIRECT_MIDDLEWARE_LABEL=erpnext.local-no-redirect-middleware SKIP_NGINX_TEMPLATE_GENERATION=0 +WORKER_CLASS=gthread diff --git a/env-production b/env-production index 47ff1458..b6de88bc 100644 --- a/env-production +++ b/env-production @@ -15,3 +15,4 @@ HTTPS_REDIRECT_ENTRYPOINT_LABEL=traefik.http.routers.http-catchall.entrypoints=w HTTPS_REDIRECT_MIDDLEWARE_LABEL=traefik.http.routers.http-catchall.middlewares=redirect-to-https HTTPS_USE_REDIRECT_MIDDLEWARE_LABEL=traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https SKIP_NGINX_TEMPLATE_GENERATION=0 +WORKER_CLASS=gthread