mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-03 14:14:18 +01:00
38 lines
1,002 B
Makefile
38 lines
1,002 B
Makefile
.PHONY: build start run stop restart refresh
|
|
|
|
# Build the docker container
|
|
#
|
|
# docker compose --profile download up --build
|
|
build:
|
|
@docker compose --profile download up --build
|
|
|
|
# Start the docker container
|
|
#
|
|
# docker compose --profile [ui] up --build
|
|
# Where [ui] is one of: invoke | auto | auto-cpu | sygil | sygil-sl
|
|
# + invoke: One of the earliest forks, stunning UI Repo by InvokeAI
|
|
# + auto: The most popular fork, many features with neat UI, Repo by AUTOMATIC1111
|
|
# + auto-cpu: for users without a GPU.
|
|
# + sygil: Another great fork Repo by Sygil-Dev
|
|
# + sygil-sl: A second version of the above using streamlit (still in development, has bugs)
|
|
#
|
|
# docker compose --profile auto up -d
|
|
# Web UI: http://localhost:7860/
|
|
start:
|
|
@docker compose --profile auto up -d
|
|
@docker compose --profile ngrok up -d
|
|
|
|
# Stop the docker container
|
|
stop:
|
|
@docker compose down
|
|
|
|
run: start
|
|
|
|
refresh: start
|
|
|
|
restart: stop start
|
|
|
|
download: build
|
|
|
|
shell:
|
|
@docker exec -it $(shell docker ps -qf "name=auto") /bin/bash
|