cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.33k stars 2.97k forks source link

How to update nginx.conf #8023

Closed patcharees closed 3 months ago

patcharees commented 3 months ago

Actions before raising this issue

Steps to Reproduce

I got an error 504 Gateway Time-out from ai tools. I tried to update timeout in nginx.conf, but my changes was not used in the cvat_server container.

  1. Edit cvat/cvat/nginx.conf
  2. Restart all container docker compose -f cvat/docker-compose.yml -f cvat/components/serverless/docker-compose.serverless.yml up -d --force-recreate
  3. Check the nginx.conf in the cvat_server container. Still the same before editing docker exec -it cvat_server cat etc/nginx/nginx.conf

Expected Behavior

nginx.conf should be updated

Possible Solution

No response

Context

No response

Environment

- Git hash commit 
Date:   Wed Jun 12 08:56:18 2024 +0300
Fixed: Cannot read properties of null (reading 'draw') (#7997)
azhavoro commented 3 months ago

you have to rebuild backend image after change: https://github.com/cvat-ai/cvat/blob/v2.14.3/Dockerfile#L186 docker compose -f cvat/docker-compose.yml -f docker-compose.dev.yml build