From 3522bf54c301730a8fd2496d499b89b0517fb50c Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 15 Jul 2022 10:43:43 +0200 Subject: [PATCH] Added enable-threads to Datapusher --- datapusher/Dockerfile | 2 +- docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/datapusher/Dockerfile b/datapusher/Dockerfile index b792938..3fc0271 100755 --- a/datapusher/Dockerfile +++ b/datapusher/Dockerfile @@ -57,4 +57,4 @@ RUN addgroup -g 92 -S www-data && \ EXPOSE 8800 CMD ["sh", "-c", \ - "uwsgi --plugins=http,python --http=0.0.0.0:8800 --socket=/tmp/uwsgi.sock --ini=`echo ${APP_DIR}`/datapusher-uwsgi.ini --wsgi-file=`echo ${APP_DIR}`/datapusher.wsgi"] + "uwsgi --plugins=http,python --enable-threads --http=0.0.0.0:8800 --socket=/tmp/uwsgi.sock --ini=`echo ${APP_DIR}`/datapusher-uwsgi.ini --wsgi-file=`echo ${APP_DIR}`/datapusher.wsgi"] diff --git a/docker-compose.yml b/docker-compose.yml index 3f8e757..4879293 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,6 +52,8 @@ services: context: datapusher/ args: - DATAPUSHER_VERSION=${DATAPUSHER_VERSION} + env_file: + - .env ports: - "8800:8800" restart: unless-stopped