Skip to content

Commit

Permalink
1.8.0 - Comfy Events Via Webhook (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnrushefsky authored Jan 21, 2025
1 parent fd825d8 commit 51f8b75
Show file tree
Hide file tree
Showing 27 changed files with 1,311 additions and 437 deletions.
312 changes: 287 additions & 25 deletions README.md

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
comfyui:
image: ghcr.io/saladtechnologies/comfyui-api:comfy0.3.10-test-image
image: ghcr.io/saladtechnologies/comfyui-api:comfy0.3.12-test-image
volumes:
- ./bin:/app/bin
- ./test/docker-image/models:/opt/ComfyUI/models
Expand All @@ -9,10 +9,14 @@ services:
context: ./test/docker-image
dockerfile: Dockerfile
args:
- comfy_version=0.3.10
- comfy_version=0.3.12
ports:
- "3000:3000"
- "8188:8188"
# environment:
# ALWAYS_RESTART_COMFYUI: "true"
# SYSTEM_WEBHOOK_URL: "http://host.docker.internal:1234/system"
# SYSTEM_WEBHOOK_EVENTS: all
deploy:
resources:
reservations:
Expand Down
4 changes: 2 additions & 2 deletions docker/api.dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ARG base=runtime
ARG comfy_version=0.3.10
ARG comfy_version=0.3.12
ARG pytorch_version=2.5.0
ARG cuda_version=12.1
FROM ghcr.io/saladtechnologies/comfyui-api:comfy${comfy_version}-torch${pytorch_version}-cuda${cuda_version}-${base}

ENV WORKFLOW_DIR=/workflows
ENV STARTUP_CHECK_MAX_TRIES=30

ARG api_version=1.7.2
ARG api_version=1.8.0
ADD https://github.com/SaladTechnologies/comfyui-api/releases/download/${api_version}/comfyui-api .
RUN chmod +x comfyui-api

Expand Down
2 changes: 1 addition & 1 deletion docker/build-api-images
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

usage="Usage: $0 [comfy_version] [torch_version] [cuda_version] [api_version]"

comfy_version=${1:-0.3.10}
comfy_version=${1:-0.3.12}
torch_version=${2:-2.5.0}
cuda_version=${3:-12.1}

Expand Down
2 changes: 1 addition & 1 deletion docker/build-comfy-base-images
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /usr/bin/bash

comfy_version=${1:-0.3.10}
comfy_version=${1:-0.3.12}
torch_version=${2:-2.5.0}
cuda_version=${3:-12.1}
bases=("runtime" "devel")
Expand Down
2 changes: 1 addition & 1 deletion docker/comfyui.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
RUN pip install --upgrade pip
RUN pip install comfy-cli
WORKDIR /opt
ARG comfy_version=0.3.10
ARG comfy_version=0.3.12
RUN git clone --depth 1 --branch v${comfy_version} https://github.com/comfyanonymous/ComfyUI.git
WORKDIR /opt/ComfyUI
RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
Expand Down
2 changes: 1 addition & 1 deletion docker/push-api-images
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

usage="Usage: $0 [comfy_version] [torch_version] [cuda_version] [api_version]"

comfy_version=${1:-0.3.10}
comfy_version=${1:-0.3.12}
torch_version=${2:-2.5.0}
cuda_version=${3:-12.1}

Expand Down
2 changes: 1 addition & 1 deletion docker/push-comfy-base-images
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

usage="Usage: $0 [comfy_version] [torch_version] [cuda_version]"

comfy_version=${1:-0.3.10}
comfy_version=${1:-0.3.12}
torch_version=${2:-2.5.0}
cuda_version=${3:-12.1}

Expand Down
Loading

0 comments on commit 51f8b75

Please sign in to comment.