Skip to content

Commit

Permalink
Add two workers to the API
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-piles committed Jul 18, 2024
1 parent 2afc64b commit ab05d0e
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
@@ -1,7 +1,7 @@
services:
api-pdf-layout:
container_name: "api-pdf-layout"
entrypoint: [ "gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--chdir", "./src", "app:app", "--bind", "0.0.0.0:5051", "--timeout", "300" ]
entrypoint: [ "gunicorn", "-w", "2", "-k", "uvicorn.workers.UvicornWorker", "--chdir", "./src", "app:app", "--bind", "0.0.0.0:5051", "--timeout", "300" ]
init: true
restart: unless-stopped
build:
Expand Down

0 comments on commit ab05d0e

Please sign in to comment.