Stable Diffusion WebUI and KohyaSS, ComfyUI, InvokeAI, Fooocus, and more Generative AI Applications on Docker
You need NVIDIA GPU and CUDA 12.4, Docker and NVIDIA Container toolkit, if you are using Windows 10/11, you also need enable WSL2. it is recommanded on Amazon Web Services, Microsoft Azure, Google Cloud Platform.
Now you can use AUTOMATIC1111 Stable Diffusion WebUI and ComfyUI container with runpod tamplate when made by me!
git clone --recurse-submodules https://github.com/bean980310/stable-diffusion-docker-project.git
First, run the run_first.ipynb on Jupyter Notebook(if not installed cuda, cudnn, docker, and NVIDIA Container toolkit.) and then run the download.ipynb on Jupyter Notebook.
And you must put models in directory stable-diffusion-models/models.
cd <your_path_of_dir>/stable-diffusion-docker-project
docker compose -f docker-compose.pull.yml up -d <service_name>
Service list | Port(Published:Target) |
---|---|
stable-diffusion-webui | 3010:7860 |
kohya_ss | 3020:7860 |
comfyui | 3030:8188 |
open-webui | 3000:8080 |
invokeai | 9090:9090 |
fooocus | 3040:7860 |
sdnext | 3060:7860 |
swarmui | 7801:7801 |
facefusion | 3070:7860 |
audiocraft_plus | 7877:7877 |
coming soon |
example:
cd ~/stable-diffusion-docker-project
docker compose -f docker-compose.pull.yml up -d stable-diffusion-webui
How to install extension of stable-diffusion-webui:
cd <your_path_of_dir>/stable-diffusion-docker-project/workspace/stable-diffusion-webui/extensions
git clone <stable-diffusion-webui_extension>
How to install ComfyUI Manager:
cd <your_path_of_dir>/stable-diffusion-docker-project/workspace/ComfyUI/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
docker compose -f docker-compose.pull.yml up -d
or
docker compose -f docker-compose.pull.yml up -d <service_name>
Now you can use container template made by me!
Now you can use container template made by me! Template link (I've tested it several times and it works fine.)
Temporary suspend
Coming soon