Skip to content

digitalirony/stable-diffusion-webui-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable Diffusion Webui Docker

This builds Automatic1111 stable-diffusion-webui into an easy to use docker image based on pytorch/pytorch. This is for use with NVIDIA hardware only!!!

This can then be deployed on services such as Vast.ai

Acknowledgements

Deployment

You need to go to duckdns.org and sign up for a new FREE account. Create a subdomain. Get your API token and save both where you will find them later.

Please see Automatic111/stable-diffusion-webui for more information on how to use this app.

If you want to deploy this project, you don't wan this repo. You want to get the latest image from the registry:

gcr.io/stablediffusion-369106/sd-webui

Set the ADMIN_PASS, DUCK_DOMAIN and DUCK_TOKEN . If your domain is myAwesomedomain.duckdns.org, only supply 'myAwesomedomain' I already know about the duckdns.org part. Also open port 80 and 443 as you see here:

docker run --gpus all --ipc=host -e ADMIN_PASS=myBrandSpankinNewPassW0rd -e DUCK_DOMAIN=myAwesemedomain -e DUCK_TOKEN=abc123aaabbbccc111222333 -p 80:80 -p 443:443 gcr.io/stablediffusion-369106/sd-webui

Once deployed simply visit Https://<your-ip-or-domain>

Before you can go any further make sure you go to updog(see below), and upload your models. SD/webui will NOT start until you have provided models. If you install any plugins use the dashboard to restart the webui to finish installing them.

When uploading your models via updog, PLEASE NOTE: updog is hella simple, and doesn't show progress. Once you click on upload, just wait and be patient, especially for large files. It will take a while if your connection is slow. The UI will update once the file is uploaded.

Future versions will have a better way of supplying models.

At the Interface here you can start and stop the services which consist of:

  • caddy - This is the webserver that sets up the reverse proxy for the rest if you stop this, you will wish you hadn't
  • updog Https://updog.yourdomain.duckdns.org - Use this to upload your models for SD
  • webui Https://webui.yourdomain.duckdns.org - Once you have uploaded your models start/restart the service and then visit this url to begin using

Building Your Own

REQUIREMENTS:

If you want to modify this build clone this repo:

git clone [email protected]:digitalirony/stable-diffusion-webui-docker.git

Then simply use my shitty shell script:

./build.sh

How to setup and use docker is beyond the scope of this document. See the helpful documents over at Dockers Website

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published