From edc3850e50aa5efd7688e3d80d176bbb9a3211f6 Mon Sep 17 00:00:00 2001 From: Mikan <72257910+Mikan-DS@users.noreply.github.com> Date: Wed, 7 Oct 2026 01:47:03 +0400 Subject: [PATCH] comfy --- .gitignore | 6 +++++- compose.yaml | 13 ++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 027da31..75e339c 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,10 @@ gpu/comfy/custom_nodes/* gpu/comfy/user/* !gpu/comfy/user/.gitkeep +comfyui/run/ +!comfyui/run/.gitkeep + + # Environment / secrets .env *.env @@ -37,4 +41,4 @@ __pycache__/ .DS_Store Thumbs.db .idea/ -.vscode/ \ No newline at end of file +.vscode/ diff --git a/compose.yaml b/compose.yaml index fea7619..3837253 100644 --- a/compose.yaml +++ b/compose.yaml @@ -82,9 +82,7 @@ services: profiles: - comfy - build: - context: ./comfyui - image: gpu-node-comfyui:local + image: mmartial/comfyui-nvidia-docker:latest container_name: gpu-node-comfyui @@ -96,20 +94,17 @@ services: - "8188:8188" volumes: - - ${COMFY_BASE_HOST:-./gpu/comfy}/models:/opt/comfyui/models - - ${COMFY_BASE_HOST:-./gpu/comfy}/input:/opt/comfyui/input - - ${COMFY_BASE_HOST:-./gpu/comfy}/output:/opt/comfyui/output - - ${COMFY_BASE_HOST:-./gpu/comfy}/user:/opt/comfyui/user - - ${COMFY_BASE_HOST:-./gpu/comfy}/custom_nodes:/opt/comfyui/custom_nodes + - ./comfyui/run:/comfy/mnt + - ./gpu/comfy:/basedir environment: USE_UV: "true" WANTED_UID: "1000" WANTED_GID: "1000" + BASE_DIRECTORY: "/basedir" SECURITY_LEVEL: "normal" COMFY_CMDLINE_EXTRA: ${COMFY_EXTRA_ARGS:-} - networks: - gpu-node