You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Abdullah Barhoum 412998e798 Initial 2 years ago
build Initial 2 years ago
cache Initial 2 years ago
models Initial 2 years ago
output Initial 2 years ago
.gitignore Initial 2 years ago
README.md Initial 2 years ago
docker-compose.yml Initial 2 years ago

README.md

# Stable Diffusion Webui Docker

This repository provides the WebUI as docker for easy setup and deployment.

Special thanks to everyone behind this awesome projects, without them, none of this would have been possible:

Setup

make sure you have docker installed and up to date. If yes, download this repo and run:

Build

docker compose build

in the root of the repo, you can let it build in the background while you go to the next step:

Download the different models:

More info here

Put all of the downloaded models in the model folder, if everything is setup correctly, the folder structure should look something like this:

├── README.md
├── docker-compose.yml
├── build
│   └── Dockerfile
├── cache
├── models
│   ├── GFPGANv1.3.pth
│   ├── RealESRGAN_x4plus.pth
│   ├── RealESRGAN_x4plus_anime_6B.pth
│   └── model.ckpt
├── output

Run

docker compose up --build

Will build and start the app on http://127.0.0.1:7860/

Note: the first start will take sometime as some other models will be downloaded, these will be cached in the cache folder, so next runs are faster.

Config

in the docker-compose.yml you can change the cli parameters of the webui, the ports, and gpu setup. You can find all cli configs here