forked from AbdBarho/stable-diffusion-webui-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
41 lines (33 loc) · 1.11 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.PHONY: build start run stop restart refresh
# Build the docker container
#
# docker compose --profile download up --build
build:
@docker compose --profile download up --build
@docker compose --profile comfy up --build
@docker compose --profile auto 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 comfy up -d
# @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