diff --git a/api/Dockerfile b/api/Dockerfile index 24e246cc7..6d5ed96ca 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -13,4 +13,4 @@ RUN python -m pip install -U pip # git and put .git (which setuptools_scm needs to determine the version) in the container RUN SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION} python -m pip install . COPY ./velour_api /src/velour_api -CMD ["uvicorn", "velour_api.main:app", "--host", "0.0.0.0"] +CMD ["uvicorn", "velour_api.main:app", "--host", "0.0.0.0", "--log-level", "warning"] diff --git a/docker-compose.yml b/docker-compose.yml index d880a62de..ab7cc1578 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ services: VELOUR_SECRET_KEY: ${VELOUR_SECRET_KEY} VELOUR_USERNAME: ${VELOUR_USERNAME} VELOUR_PASSWORD: ${VELOUR_PASSWORD} - command: "uvicorn velour_api.main:app --reload --host 0.0.0.0" + command: "uvicorn velour_api.main:app --reload --host 0.0.0.0 --log-level warning" depends_on: - 'db' - 'migrations'