Skip to content

Commit

Permalink
use uvicorn workers
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Oct 25, 2023
1 parent d320816 commit f59326a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion store/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
neurostore:
expose:
- "8000"
command: /usr/local/bin/gunicorn -w 1 -b :8000 neurostore.core:app --log-level debug --timeout 300 --reload
command: /usr/local/bin/gunicorn -w 1 -b :8000 neurostore.core:connexion_app --worker-class uvicorn.workers.UvicornWorker --log-level debug --timeout 300 --reload
restart: "no"
stdin_open: true # docker run -i
tty: true # docker run -t
Expand Down
2 changes: 1 addition & 1 deletion store/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- ./:/neurostore
- ${FILE_DIR}:/file-data
- ${ACE_DIR}:/ace
command: /usr/local/bin/gunicorn -w 8 -b :8000 neurostore.core:app --log-level debug --timeout 120
command: /usr/local/bin/gunicorn -w 8 -b :8000 neurostore.core:connexion_app --worker-class uvicorn.workers.UvicornWorker --log-level debug --timeout 120
env_file:
- .env
container_name: neurostore
Expand Down

0 comments on commit f59326a

Please sign in to comment.