Added enable-threads to Datapusher

This commit is contained in:
Brett 2022-07-15 10:43:43 +02:00
parent cbc9528836
commit 3522bf54c3
2 changed files with 3 additions and 1 deletions

View File

@ -57,4 +57,4 @@ RUN addgroup -g 92 -S www-data && \
EXPOSE 8800 EXPOSE 8800
CMD ["sh", "-c", \ 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"]

View File

@ -52,6 +52,8 @@ services:
context: datapusher/ context: datapusher/
args: args:
- DATAPUSHER_VERSION=${DATAPUSHER_VERSION} - DATAPUSHER_VERSION=${DATAPUSHER_VERSION}
env_file:
- .env
ports: ports:
- "8800:8800" - "8800:8800"
restart: unless-stopped restart: unless-stopped