Dateien nach "/" hochladen
This commit is contained in:
1 parent
74087727ad
commit
0d53c9a3e2
5 files changed
+330
-103
No files matched your search
+3
-1
@@ -28,4 +28,6 @@ EXPOSE 8000
|
||||
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
||||
CMD python3 -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/healthz', timeout=3)"
|
||||
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "2", "--timeout", "310", "app:app"]
|
||||
# Ein Worker mit mehreren Threads: Rate-Limit, Concurrency-Semaphore und der
|
||||
# Scan-Zähler in app.py sind In-Memory-Zustand und müssen sich einen Prozess teilen.
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "1", "--threads", "4", "--timeout", "310", "app:app"]
|
||||
Reference in new issue
Block a user