Hi, thanks for your hard work!
The way of open the annotation web server on localhost, but if I what to deploy it on the server so that the others can just annotate by opening the browser , how to deploy the project? need I change the code or docker configuration?
@LinLidi ,
Need just add some changes into docker-compose.override.yml. One of possible way is to create such annotation server on AWS. Please read AWS deployment guide. Don't hesitate to ask additional questions.
Hi, @nmanovic ,
Is it the introduction in the README that title Advanced settings? Just change the ALLOWED_HOSTS and ports and needn't add any other configurations? Then the way to turn up is the same by command that docker-compose up -d?
thanks for your reply.
Hi @LinLidi ,
It is true. When you run docker-compose up -d on your localhost you already have a production ready CVAT to annotate data. The only problem that it isn't accessible from other hosts (due to ALLOWED_HOSTS isn't set properly and user should specify 8080 port). Thus to fix that you just need to specify hostname inside ALLOWED_HOSTS (or '*' but it is not secure) and change 8080 port on 80 if it is free. That is all. You can open a browser on another machine in your local network and access your annotation tool. If you server is publically available anybody in the world can try to access your tool and annotate data (if he/she knows username/password to login)
Hi, @nmanovic ,
Thanks for your detailed answers, and now I have got it.it's a perfect and convenient tool to annotate.
best wishes.
I am also facing issues in AWS setup, same Bad Request error. Can someone share docker-compose.override.yml with ALLOWED_HOSTS configuration.
I have one more question - Is Apache a part of default cvat docker distribution? How do we make changes in httpd conf file?
@sailprak
docker-compose.override.yml
version: "2.3"
services:
cvat:
environment:
ALLOWED_HOSTS: '*'
ports:
- "80:8080"
Then
docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d
It did the trick for me
Most helpful comment
Hi @LinLidi ,
It is true. When you run
docker-compose up -don your localhost you already have a production ready CVAT to annotate data. The only problem that it isn't accessible from other hosts (due to ALLOWED_HOSTS isn't set properly and user should specify 8080 port). Thus to fix that you just need to specify hostname inside ALLOWED_HOSTS (or '*' but it is not secure) and change 8080 port on 80 if it is free. That is all. You can open a browser on another machine in your local network and access your annotation tool. If you server is publically available anybody in the world can try to access your tool and annotate data (if he/she knows username/password to login)