From 5b9a76c4b9644ab2c7f51a063aeb99f6364f232e Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Sun, 17 Mar 2024 13:41:15 +0300 Subject: [PATCH] chore(ollama-stack.yaml): update ollama image to a specific commit chore(stable-diffusion.yaml): add stable-diffusion service with custom configuration --- ollama-stack.yaml | 2 +- stable-diffusion.yaml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 stable-diffusion.yaml diff --git a/ollama-stack.yaml b/ollama-stack.yaml index 3a52ed4..719ca3c 100644 --- a/ollama-stack.yaml +++ b/ollama-stack.yaml @@ -9,7 +9,7 @@ services: - ollama:/root/.ollama open-webui: - image: ghcr.io/open-webui/open-webui:main + image: ghcr.io/open-webui/open-webui:git-cd92cf0 ports: - 3000:8080 volumes: diff --git a/stable-diffusion.yaml b/stable-diffusion.yaml new file mode 100644 index 0000000..8d23682 --- /dev/null +++ b/stable-diffusion.yaml @@ -0,0 +1,17 @@ +version: '3.9' + +services: + sd: + image: goolashe/automatic1111-sd-webui + ports: + - "${WEBUI_PORT:-7860}:7860" + stop_signal: SIGKILL + tty: true + environment: + - CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api + volumes: + - sd-data:/data + - sd-output:/output +volumes: + sd-data: {} + sd-output: {}