Skip to content
Snippets Groups Projects
Unverified Commit 038f8f70 authored by Akshay Naik's avatar Akshay Naik Committed by GitHub
Browse files

Merge branch 'LibrePhotos:main' into main

parents ec00541d bf9fdcdf
No related branches found
No related tags found
No related merge requests found
...@@ -17,8 +17,8 @@ python manage.py rqworker default 2>&1 | tee /logs/rqworker.log & ...@@ -17,8 +17,8 @@ python manage.py rqworker default 2>&1 | tee /logs/rqworker.log &
if [ "$DEBUG" = 1 ] if [ "$DEBUG" = 1 ]
then then
echo "develompent backend starting" echo "develompent backend starting"
gunicorn --worker-class=gevent --timeout 36000 --reload --bind backend:8001 --log-level=info ownphotos.wsgi 2>&1 | tee /logs/gunicorn_django.log gunicorn --worker-class=gevent --timeout 36000 --reload --bind 0.0.0.0:8001 --log-level=info ownphotos.wsgi 2>&1 | tee /logs/gunicorn_django.log
else else
echo "production backend starting" echo "production backend starting"
gunicorn --worker-class=gevent --timeout 3600 --bind backend:8001 --log-level=info ownphotos.wsgi 2>&1 | tee /logs/gunicorn_django.log gunicorn --worker-class=gevent --timeout 3600 --bind 0.0.0.0:8001 --log-level=info ownphotos.wsgi 2>&1 | tee /logs/gunicorn_django.log
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment