/stable_diffusion_docker_deploy

Just script to deploy automatic1111 with docker

Primary LanguageDockerfile

Easy to deploy stable diffusion webUI on Linux Prerequisites:

  • docker with nvidia runtime
  • nvidia gpu driver
  • docker compose v2

How to use:

  1. 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
  1. Buld and run
docker compose up --build -d
  1. Update the image: rebuild the image again
docker-compose down
docker compose up --build -d