R
RunPod7mo ago
yoink

Custom Template with Jupyter not working

im trying to create a custom template that use jupyter, so im referencing the way jupyter installed and start from the official stable diffusion runpod image https://github.com/runpod/containers/blob/main/official-templates/stable-diffusion-webui/Dockerfile https://github.com/runpod/containers/blob/main/container-template/start.sh and the result is the jupyter did started, but when i click the Connect button and "Connect to HTTP port 8888" button, it leads me to a login page of the jupyter notebook i noticed that the "connect to jupyter" button for the official sd runpod will lead to jupyter notebook link with token as its params (ie xxxx-8888.proxy.runpod.net/lab?token=xxxxx), but with the runpod that runs my custom image, the button only lead to xxxx-8888.proxy.runpod.net do anyone know how to solve this?
GitHub
containers/official-templates/stable-diffusion-webui/Dockerfile at ...
🐳 | Dockerfiles for the RunPod container images used for our official templates. - runpod/containers
GitHub
containers/container-template/start.sh at main · runpod/containers
🐳 | Dockerfiles for the RunPod container images used for our official templates. - runpod/containers
No description
No description
Solution:
set --ServerApp.token="" if you don't want a password
Jump to solution
4 Replies
Solution
digigoblin
digigoblin7mo ago
set --ServerApp.token="" if you don't want a password
digigoblin
digigoblin7mo ago
Only RunPod official templates can auto inject the token, custom templates cannot. Otherwise set the password in JUPYTER_PASSWORD environment variable.
yoink
yoinkOP7mo ago
like this?
No description
yoink
yoinkOP7mo ago
Thanks for helping, it works now
Want results from more Discord servers?
Add your server