From 3c2ccb4347d44242d83f3c657a2bdbb932bf1dc5 Mon Sep 17 00:00:00 2001 From: Tim Hagen Date: Thu, 19 Sep 2024 10:32:23 +0200 Subject: [PATCH] fixed django to 5.0.9 --- application/Dockerfile.prod | 9 ++++++++- application/setup.cfg | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/application/Dockerfile.prod b/application/Dockerfile.prod index 26c97f97..7cc04d3f 100644 --- a/application/Dockerfile.prod +++ b/application/Dockerfile.prod @@ -106,6 +106,9 @@ useradd -ms /bin/bash tira # Change tira's password to tira echo 'tira:tira' | chpasswd usermod -aG sudo tira + +# apt-get install libmariadb-dev ############# +apt-get install mariadb-client ############# EOF ######################################################################################################################## @@ -121,4 +124,8 @@ ENV TIRA_DEBUG=false EXPOSE 80 # TODO: at some point it probably makes sense, not to use /tira/application/src as a working directory anymore -CMD ["uwsgi", "--strict", "--master", "--enable-threads", "--module", "django_admin.wsgi:application", "--chdir", "/tira/application/src", "--processes", "50", "--http-socket", ":80", "--vacuum", "--max-requests", "5000"] \ No newline at end of file +CMD ["uwsgi", "--strict", "--master", "--enable-threads", "--module", "django_admin.wsgi:application", "--chdir", "/tira/application/src", "--processes", "50", "--http-socket", ":80", "--vacuum", "--max-requests", "5000"] + + + +uwsgi --strict --master --enable-threads --module django_admin.wsgi:application --chdir /tira/application/src --processes 50 --http-socket :80 --vacuum --max-requests 5000 \ No newline at end of file diff --git a/application/setup.cfg b/application/setup.cfg index c24f204b..755f2775 100644 --- a/application/setup.cfg +++ b/application/setup.cfg @@ -11,7 +11,7 @@ install_requires = grpcio>=1.53.2 # grpcio-tools==1.36.1 # still needed? protobuf<4.0dev - Django + Django==5.0.9 pyyaml requests randomname