Easy to deploy stable diffusion webUI on Linux Prerequisites:
- docker with nvidia runtime
- nvidia gpu driver
- docker compose v2
How to use:
- Edit .env file and put it at root folder example:
SERVICE_PORT=0.0.0.0:7860
MODEL_PATH=$HOME/sd_models
USER_DATA_PATH=$HOME/sd_user_data
- Buld and run
docker compose up --build -d
- Update the image: rebuild the image again
docker-compose down
docker compose up --build -d