fix: Zugriffsprotokoll von gunicorn aktivieren

Ohne --access-logfile protokolliert gunicorn keine Requests. Im Log war
dadurch nicht erkennbar, ob eine Anfrage den Container ueberhaupt
erreicht - beim Nachstellen eines Upload-Problems fehlte damit die
grundlegendste Information.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Erik Thiele
2026-09-02 15:57:46 +02:00
parent 8f0e702cca
commit 556ccb211a

View File

@@ -20,4 +20,6 @@ ENV PYTHONUNBUFFERED=1
EXPOSE 5005 EXPOSE 5005
CMD ["gunicorn", "-b", "0.0.0.0:5005", "-w", "4", "app:app"] # --access-logfile - schreibt jeden Request nach stdout. Ohne das protokolliert
# gunicorn keine Zugriffe, und man sieht nicht, ob eine Anfrage ueberhaupt ankommt.
CMD ["gunicorn", "-b", "0.0.0.0:5005", "-w", "4", "--access-logfile", "-", "app:app"]