Closed youamanb closed 7 months ago
Hi @youamanb, I'm not sure I fully understand the question. Could you let me know what your goal is by doing this?
Hi @nate-wandb , I run the wandb-local docker image with version wandb/local:0.50.2, and in the docker container,I found the index.html file under the folder /var/app/frontend, the "/var/app/frontend/index.html" is generated from "/var/app/orig_frontend/index.html",and PUBLIC_URL_PLACEHOLDER is in /var/app/orig_frontend/index.html.So I want to replace PUBLIC_URL_PLACEHOLDER with my own defined URL prefix such as “wandb-api”,so I hope the generated file "/var/app/frontend/index.html" has content src path like this " ",can we do this?
Hi @youamanb , you shouldn't need to manually edit these files on your end. Passing the host variable, the FQD of your instance, i.e. https://my.domain.net/
should work. Please set the host and then launch your docker container, you'll see we'll populate the placeholder automatically after parsing it from the host var value. If this doesn't happen in your case, please let us know and we'll investigate this further.
Example cmd:
\docker run --rm -d \
-e HOST=https://YOUR_DNS_NAME \
-e LICENSE=XXXXX \
您好,我已收到您的邮件,谢谢!
Hi @youamanb , I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.
Hi @youamanb , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!
how to generate web path in index.html? like , mypath is self defined