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

ClearML Server Behind Reverse Proxy #215

Open
Fulladorn opened this issue Aug 31, 2023 · 3 comments
Open

ClearML Server Behind Reverse Proxy #215

Fulladorn opened this issue Aug 31, 2023 · 3 comments

Comments

@Fulladorn
Copy link

I have deployed the ClearML Server through the docker-compose setup in the Single IP (Domain) Configuration. I'm looking to set the service behind an Apache reverse proxy on a single domain such as {domain}.com/clearml/app, {domain}.com/clearml/app, {domain}.com/clearml/files. When I set the Apache reverse proxy the application begins to load but encounters the 404 errors looking at the wrong context {domain}.com/app/...etc... instead of {domain}.com/clearml/web/app/...etc... for static files.

Is there a recommended solution for this use case?

@Fulladorn Fulladorn changed the title ClearML Behind Reverse Proxy ClearML Server Behind Reverse Proxy Aug 31, 2023
@jkhenning
Copy link
Member

Hi @Fulladorn, I am not sure this is supported right now. This requires custom WebApp configuration.
Perhaps @shyallegro can offer advice?

@shyallegro
Copy link
Contributor

shyallegro commented Sep 3, 2023

Hi @Fulladorn take a look at what CLEARML_SERVER_SUB_PATH does here

if [[ -n "${CLEARML_SERVER_SUB_PATH}" ]]; then

setting this environment variable through docker should allow you to manipulate the web app base path.

you can also go through the PRs for more info, here #121 and here allegroai/clearml-web#21

@Fulladorn
Copy link
Author

Hi @Fulladorn take a look at what CLEARML_SERVER_SUB_PATH does here

if [[ -n "${CLEARML_SERVER_SUB_PATH}" ]]; then

setting this environment variable through docker should allow you to manipulate the web app base path.
you can also go through the PRs for more info, here #121 and here allegroai/clearml-web#21

Seems like it's not supported:

docker logs clearml-webserver results in:
/opt/clearml/wrapper.sh: line 85: /etc/nginx/default.d/clearml_subpath.conf: No such file or directory

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

3 participants