From 8d31ae759dd409ca707cca08861d24fe47683765 Mon Sep 17 00:00:00 2001 From: Olivier Leger Date: Wed, 27 Oct 2021 11:13:38 -0400 Subject: [PATCH 1/2] specify user to run uWSGi process --- uwsgi/kpi_uwsgi.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uwsgi/kpi_uwsgi.ini b/uwsgi/kpi_uwsgi.ini index 27395f34..ee1b45d8 100644 --- a/uwsgi/kpi_uwsgi.ini +++ b/uwsgi/kpi_uwsgi.ini @@ -62,8 +62,8 @@ socket = 0.0.0.0:8000 buffer-size = 32768 listen = @(/proc/sys/net/core/somaxconn) -#uid = wsgi -#gid = wsgi +uid = $(UWSGI_USER) +gid = $(UWSGI_GROUP) die-on-term = true # uWSGI does not pass locale information to the application by default From 748d64c68ea4b32d7807da509e3d7b833aa0f175 Mon Sep 17 00:00:00 2001 From: Olivier Leger Date: Mon, 22 Nov 2021 15:14:26 -0500 Subject: [PATCH 2/2] Use KPI and KoBoCAT v2.021.47 --- docker-compose.frontend.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.frontend.yml b/docker-compose.frontend.yml index 6da7b4eb..99f1c2eb 100644 --- a/docker-compose.frontend.yml +++ b/docker-compose.frontend.yml @@ -5,7 +5,7 @@ version: '3' services: kobocat: - image: kobotoolbox/kobocat:2.021.41 + image: kobotoolbox/kobocat:2.021.47 hostname: kobocat env_file: - ../kobo-env/envfile.txt @@ -44,7 +44,7 @@ services: - kobocat.internal kpi: - image: kobotoolbox/kpi:2.021.41 + image: kobotoolbox/kpi:2.021.47 hostname: kpi env_file: - ../kobo-env/envfile.txt