Skip to content

Commit ab05d0e

Browse files
committed
Add two workers to the API
1 parent 2afc64b commit ab05d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
api-pdf-layout:
33
container_name: "api-pdf-layout"
4-
entrypoint: [ "gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--chdir", "./src", "app:app", "--bind", "0.0.0.0:5051", "--timeout", "300" ]
4+
entrypoint: [ "gunicorn", "-w", "2", "-k", "uvicorn.workers.UvicornWorker", "--chdir", "./src", "app:app", "--bind", "0.0.0.0:5051", "--timeout", "300" ]
55
init: true
66
restart: unless-stopped
77
build:

0 commit comments

Comments
 (0)