diff --git a/store/docker-compose.dev.yml b/store/docker-compose.dev.yml index ffd141136..59fd4dfe4 100644 --- a/store/docker-compose.dev.yml +++ b/store/docker-compose.dev.yml @@ -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 diff --git a/store/docker-compose.yml b/store/docker-compose.yml index 0ec3300f3..593ea0970 100644 --- a/store/docker-compose.yml +++ b/store/docker-compose.yml @@ -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