Skip to content

Commit

Permalink
Merge pull request #152 from stuartmaxwell:docker-compose-update
Browse files Browse the repository at this point in the history
Add --max-requests=1000 --max-requests-jitter=50
  • Loading branch information
stuartmaxwell authored Nov 25, 2024
2 parents 02d3eac + 687135a commit 429f034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
app:
build: .
entrypoint: /app/entrypoint.sh
command: uv run --no-cache gunicorn --worker-tmp-dir /dev/shm --workers=2 --worker-class uvicorn_worker.UvicornWorker --bind 0.0.0.0:8000 config.asgi:application
command: uv run --no-cache gunicorn --worker-class uvicorn_worker.UvicornWorker --worker-tmp-dir /dev/shm --workers=2 --max-requests=1000 --max-requests-jitter=50 --bind 0.0.0.0:8000 config.asgi:application
user: "1000"
environment:
- "S3_BUCKET=${S3_BUCKET}"
Expand Down

0 comments on commit 429f034

Please sign in to comment.