forked from AbdBarho/stable-diffusion-webui-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.sh
executable file
·34 lines (29 loc) · 987 Bytes
/
start.sh
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
#!/bin/bash
# download
podman build -t container-download \
--force-rm \
--volume "/opt/stable-diffusion-webuis-podman/data:/data" \
--device "nvidia.com/gpu=all" \
./services/download/
# automatic1111
podman build -t container-automatic1111 \
--force-rm \
--volume "/opt/stable-diffusion-webuis-podman/data:/data" \
--volume "/opt/stable-diffusion-webuis-podman/output:/output" \
--device "nvidia.com/gpu=all" \
./services/AUTOMATIC1111
# invokeai
podman build -t container-invokeai \
--force-rm \
--volume "/opt/stable-diffusion-webuis-podman/data:/data" \
--volume "/opt/stable-diffusion-webuis-podman/output:/output" \
--device "nvidia.com/gpu=all" \
./services/invokeai/
# comfy
podman build -t container-comfy \
--force-rm \
--volume "/opt/stable-diffusion-webuis-podman/data:/data" \
--volume "/opt/stable-diffusion-webuis-podman/output:/output" \
--device "nvidia.com/gpu=all" \
./services/comfy/
podman play kube --replace webuis.yaml