Before running CVAT services, you will need to make some modifications to the docker-compose.yml file in order to enable communication between Human Protocol and CVAT containers.
If using "Docker Compose" version of protocol
First you need to add a network alias for traefik service by changing its networks section to:
networks:cvat:aliases: - cvat-lb
Then configure cvat network at the bottom of compose file:
networks:cvat:name:human-cvat-bridgeexternal:true
In order to allow Human Protocol services to communicate with CVAT services you need to retrieve bridge network subnet CIDR:
CVAT will be available on http://cvat-lb:8080, so make sure you added a mapping to your /etc/hosts/ for convenience, because it will allow requests only with Host: cvat-lb header
If using "localhost" version (i.e. services running locally)
If you use "localhost" setup, you will highly likely need to create bridge Docker network to be able to access CVAT services from local host:
Then configure cvat network at the bottom of compose file:
networks:cvat:name:human-cvat-bridgeexternal:true
In order to allow HUMAN Protocol services communicate with CVAT services you need to retrieve bridge network Gateway IP (traffic from your local host goes through this Gateway to containers):
Then go to CVAT UI in your browser and create a user for HUMAN Protocol services. Then login as this user and create the organization for HUMAN Protocol.
For "Docker Compose" setup use username, password and organization short name from the docker-compose file (or overrides you specified there if any)