diff --git a/tutorials/pods/comfyui.mdx b/tutorials/pods/comfyui.mdx index 2d485891..90d650b0 100644 --- a/tutorials/pods/comfyui.mdx +++ b/tutorials/pods/comfyui.mdx @@ -81,15 +81,34 @@ curl --request POST \ ``` **Port configuration:** -- `8188/http`: ComfyUI web interface -- `22/tcp`: SSH access -- `8080/http`: File browser (optional) +- `8188/http`: ComfyUI web interface. +- `22/tcp`: SSH access. Set the `PUBLIC_KEY` environment variable, or check the Pod logs for a generated root password. +- `8080/http`: FileBrowser web file manager (optional). See [Access the FileBrowser and JupyterLab](#access-the-filebrowser-and-jupyterlab) for credentials. +- `8888/http`: JupyterLab (optional). See [Access the FileBrowser and JupyterLab](#access-the-filebrowser-and-jupyterlab) for credentials. + +To also expose JupyterLab, add `"8888/http"` to the `ports` array. For Blackwell GPUs (RTX 5090, B200), use `runpod/comfyui:cuda12.8` instead. +### Access the FileBrowser and JupyterLab + +The official ComfyUI templates expose two extra web services alongside ComfyUI: + +- **FileBrowser** on port `8080`. Upload, download, and manage files in `/workspace` from a browser. +- **JupyterLab** on port `8888`. Open notebooks and a terminal rooted at `/workspace`. + +Open them from the Runpod console by clicking **Connect** on your Pod and selecting the HTTP service for the port you want. + +**Default credentials:** + +- **FileBrowser:** username `admin`, password `adminadmin12`. To change the password, set the `FILEBROWSER_PASSWORD` environment variable on the Pod before it first starts. +- **JupyterLab:** the login token is the value of the `JUPYTER_PASSWORD` environment variable. If it isn't set, check the Pod logs for the generated token. + +Change these defaults for any Pod you expose publicly. + ## Step 2: Open the ComfyUI interface Once your Pod has finished initializing, you can open the ComfyUI interface: