Description
I'm having trouble setting up persistent storage for checkpoints, outputs, nodes, etc. For reference, I'm trying to set this up on TrueNAS Scale (based on debian) as a custom app using the new docker setup. So it's just pulling the built image, injecting environment variables, and mounting some of the directories inside to persistent storage.
My understanding of this image is that the ComfyUI directory is supposed to be copied over to the workspace directory and used as the working directory of the app. Then we're supposed to set up any network mounts for custom_nodes, output, models/checkpoints, etc to point to that location. But when I run the image and poke inside the container, outputs and anything I download via the manager is going straight into /opt/ComfyUI
and /opt/storage/stable_diffusion
just has the empty folders where I set up my network mounts. I also tried setting $WORKSPACE to /workspace, and still nothing was copied over.
Unless I'm misunderstanding and I should be persisting the folders directly in /opt/ComfyUI. And in that case when I add those network shares, I run into permissions issues that might be ultra specific to whatever wacky thing truenas is doing with docker.