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:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user