Browse Source

fix: reduce gunicorn worker count to improve resource management

master
nwhco 11 months ago
parent
commit
ea5bc23d50
  1. 2
      docker-compose.prod.yml

2
docker-compose.prod.yml

@ -7,7 +7,7 @@ services:
build:
context: .
dockerfile: Dockerfile.prod
command: gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers=32 --timeout 560
command: gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers=4 --timeout 560
volumes:
- static_volume:/usr/src/app/static
ports:

Loading…
Cancel
Save