mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Default worker-count in Docker: min(cpu_count, 4) instead of 1
As per discussion with @sekrause on #101 Briefly: recent reduction is a good idea, but 1 is probably too little.
This commit is contained in:
@@ -71,9 +71,10 @@ RUN --mount=type=cache,target=/var/cache/buildkit/pip \
|
||||
pip install /wheels/$WHEEL_FILE
|
||||
|
||||
COPY bugsink/conf_templates/docker.py.template bugsink_conf.py
|
||||
COPY gunicorn.docker.conf.py /app/
|
||||
|
||||
RUN ["bugsink-manage", "migrate", "snappea", "--database=snappea"]
|
||||
|
||||
HEALTHCHECK CMD python -c 'import requests; requests.get("http://localhost:8000/health/ready").raise_for_status()'
|
||||
|
||||
CMD [ "monofy", "bugsink-manage", "check", "--deploy", "--fail-level", "WARNING", "&&", "bugsink-manage", "migrate", "&&", "bugsink-manage", "prestart", "&&", "gunicorn", "--bind=0.0.0.0:$PORT", "--access-logfile", "-", "bugsink.wsgi", "|||", "bugsink-runsnappea"]
|
||||
CMD [ "monofy", "bugsink-manage", "check", "--deploy", "--fail-level", "WARNING", "&&", "bugsink-manage", "migrate", "&&", "bugsink-manage", "prestart", "&&", "gunicorn", "--config", "gunicorn.docker.conf.py", "--bind=0.0.0.0:$PORT", "--access-logfile", "-", "bugsink.wsgi", "|||", "bugsink-runsnappea"]
|
||||
|
||||
Reference in New Issue
Block a user