Massive update, agent.

This commit is contained in:
2026-06-08 17:38:33 +02:00
parent 81f173a628
commit e6698b11f9
270 changed files with 54408 additions and 541 deletions
+9 -3
View File
@@ -10,13 +10,19 @@ COPY pyproject.toml .
COPY devplacepy/ devplacepy/
RUN pip install --no-cache-dir .
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
RUN mkdir -p /app/data /app/devplacepy/static/uploads/attachments
RUN pip install --no-cache-dir ".[bots]" \
&& python -m playwright install --with-deps chromium \
&& chmod -R a+rx /ms-playwright
RUN mkdir -p /app/devplacepy/static/uploads/attachments
EXPOSE 10500
ENV DEVPLACE_WEB_WORKERS=2
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=10s \
CMD curl -f http://localhost:10500/ || exit 1
CMD ["uvicorn", "devplacepy.main:app", "--host", "0.0.0.0", "--port", "10500", "--workers", "4", "--backlog", "8192", "--proxy-headers", "--forwarded-allow-ips", "*"]
CMD ["uvicorn", "devplacepy.main:app", "--host", "0.0.0.0", "--port", "10500", "--workers", "2", "--backlog", "8192", "--proxy-headers", "--forwarded-allow-ips", "*"]