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

CVAT 1.6.0 How to set Hostname #3781

Closed
thuyngch opened this issue Oct 9, 2021 · 2 comments
Closed

CVAT 1.6.0 How to set Hostname #3781

thuyngch opened this issue Oct 9, 2021 · 2 comments
Labels
question Further information is requested

Comments

@thuyngch
Copy link

thuyngch commented Oct 9, 2021

Hi,

Firstly, thanks for the excellent project that you guys are building.

I am trying version 1.6.0 and getting into trouble with how to set the hostname.
As in the installation guide, it said:

To change the hostname, simply set the CVAT_HOST environment variable
export CVAT_HOST=<YOUR_HOSTNAME>

But I am confusing which environment, e.g., in the terminal building docker like this?

export CVAT_HOST="my_host_name"
docker-compose -f "docker-compose.yml" -f "docker-compose.dev.yml" build
docker-compose -f "docker-compose.yml" -f "docker-compose.dev.yml" up

Hope to see your response.
Thanks.

@azhavoro
Copy link
Contributor

Hi, you need to set the CVAT_HOST env variable in the same shell session in which you run the docker-compose command. Another way is use a prefix like this: CVAT_HOST=<your_hostname> docker-compose f "docker-compose.yml" -f "docker-compose.dev.yml" up -d`

@azhavoro azhavoro added the question Further information is requested label Oct 11, 2021
@thuyngch
Copy link
Author

I got it.
Thank you so much!

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

No branches or pull requests

2 participants