Skip to content

Commit

Permalink
fixed django to 5.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrSheldon committed Sep 19, 2024
1 parent fbf25cd commit 3c2ccb4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion application/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -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

########################################################################################################################
Expand All @@ -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"]
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
2 changes: 1 addition & 1 deletion application/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c2ccb4

Please sign in to comment.