Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not mount on connected file share #8889

Open
silaopi opened this issue Dec 30, 2024 · 3 comments
Open

Could not mount on connected file share #8889

silaopi opened this issue Dec 30, 2024 · 3 comments

Comments

@silaopi
Copy link

silaopi commented Dec 30, 2024

I follow the installation guide to mount a local path, but it doesn't work.
image

Here is my docker-compose.override.yml file:
docker-compose.override.txt

By the way, I am using cvat 2.9.0, Ubuntu 20.04

@zhiltsov-max
Copy link
Contributor

Hi, how you're starting CVAT?

@silaopi
Copy link
Author

silaopi commented Dec 31, 2024

Hi, how you're starting CVAT?
I started CVAT by using this command:
docker compose -f docker-compose.override.yml up -d

@zhiltsov-max
Copy link
Contributor

I couldn't find any mentions in docker compose documentation for the bind volume syntax used in the file you shared. The following override worked for me:

services:
  cvat_server:
    volumes:
      - cvat_data:/home/django/data
      - cvat_keys:/home/django/keys
      - cvat_logs:/home/django/logs
      - /mnt/cvat_share:/home/django/share:ro

  cvat_worker_import:
    volumes:
      - cvat_data:/home/django/data
      - cvat_keys:/home/django/keys
      - cvat_logs:/home/django/logs
      - /mnt/cvat_share:/home/django/share:ro

  cvat_worker_export:
    volumes:
      - cvat_data:/home/django/data
      - cvat_keys:/home/django/keys
      - cvat_logs:/home/django/logs
      - /mnt/cvat_share:/home/django/share:ro

  cvat_worker_annotation:
    volumes:
      - cvat_data:/home/django/data
      - cvat_keys:/home/django/keys
      - cvat_logs:/home/django/logs
      - /mnt/cvat_share:/home/django/share:ro

volumes:
  cvat_db:
  cvat_data:
  cvat_keys:
  cvat_logs:
  cvat_events_db:
  cvat_cache_db:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants