Skip to content

Commit

Permalink
Detailed gunicorn logging
Browse files Browse the repository at this point in the history
  • Loading branch information
txels committed Apr 9, 2024
1 parent d9a955c commit b973a54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ k8s-restart:
kubectl rollout restart deploy/${IMAGE}

serve:
gunicorn --bind 0.0.0.0:8000 --workers 2 shipanaro.wsgi
gunicorn \
--bind 0.0.0.0:8000 \
--workers 2 shipanaro.wsgi \
--capture-output --log-file="-" \
--access-logfile="-" \
"$@" | tee -a tripulacio.log

update:
git pull || echo "Cannot pull"
Expand Down

0 comments on commit b973a54

Please sign in to comment.