{"id":20844849,"url":"https://github.com/ai-dock/comfyui","last_synced_at":"2025-05-15T01:06:33.514Z","repository":{"id":190035105,"uuid":"681809062","full_name":"ai-dock/comfyui","owner":"ai-dock","description":"ComfyUI docker images for use in GPU cloud and local environments. Includes AI-Dock base for authentication and improved user experience. ","archived":false,"fork":false,"pushed_at":"2024-11-04T18:23:58.000Z","size":801,"stargazers_count":840,"open_issues_count":47,"forks_count":279,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-08T03:54:39.231Z","etag":null,"topics":["ai","comfyui","docker","image-processing","runpod","runpod-serverless","runpod-worker","sdxl","stable-diffusion","vast"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ai-dock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ai-dock","robballantyne"]}},"created_at":"2023-08-22T19:57:50.000Z","updated_at":"2025-05-08T02:31:26.000Z","dependencies_parsed_at":"2023-10-12T15:53:27.189Z","dependency_job_id":"2f323af1-88e9-4ee9-874e-476f01f9455b","html_url":"https://github.com/ai-dock/comfyui","commit_stats":null,"previous_names":["ai-dock/comfyui"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-dock%2Fcomfyui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-dock%2Fcomfyui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-dock%2Fcomfyui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-dock%2Fcomfyui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ai-dock","download_url":"https://codeload.github.com/ai-dock/comfyui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254041,"owners_count":22039792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","comfyui","docker","image-processing","runpod","runpod-serverless","runpod-worker","sdxl","stable-diffusion","vast"],"created_at":"2024-11-18T02:11:14.725Z","updated_at":"2025-05-15T01:06:28.506Z","avatar_url":"https://github.com/ai-dock.png","language":"Shell","funding_links":["https://github.com/sponsors/ai-dock","https://github.com/sponsors/robballantyne"],"categories":["Shell"],"sub_categories":[],"readme":"[![Docker Build](https://github.com/ai-dock/comfyui/actions/workflows/docker-build.yml/badge.svg)](https://github.com/ai-dock/comfyui/actions/workflows/docker-build.yml)\n\n# AI-Dock + ComfyUI Docker Image\n\nRun [ComfyUI](https://github.com/comfyanonymous/ComfyUI) in a highly-configurable, cloud-first AI-Dock container.\n\n\u003e[!NOTE]\n\u003eThese images do not bundle models or third-party configurations. You should use a [provisioning script](https://github.com/ai-dock/base-image/wiki/4.0-Running-the-Image#provisioning-script) to automatically configure your container. You can find examples, including `SD3` \u0026 `FLUX.1` setup, in `config/provisioning`.\n\n\n## Documentation\n\nAll AI-Dock containers share a common base which is designed to make running on cloud services such as [vast.ai](https://link.ai-dock.org/vast.ai) as straightforward and user friendly as possible.\n\nCommon features and options are documented in the [base wiki](https://github.com/ai-dock/base-image/wiki) but any additional features unique to this image will be detailed below.\n\n#### Version Tags\n\nThe `:latest` tag points to `:latest-cuda` and will relate to a stable and tested version.  There may be more recent builds\n\nTags follow these patterns:\n\n##### _CUDA_\n- `:cuda-[x.x.x-base|runtime]-[ubuntu-version]`\n\n##### _ROCm_\n- `:rocm-[x.x.x-runtime]-[ubuntu-version]`\n\n##### _CPU_\n- `:cpu-[ubuntu-version]`\n\n\nBrowse [ghcr.io](https://github.com/ai-dock/comfyui/pkgs/container/comfyui) for an image suitable for your target environment. Alternatively, view a select range of [CUDA](https://hub.docker.com/r/aidockorg/comfyui-cuda) and [ROCm](https://hub.docker.com/r/aidockorg/comfyui-rocm) builds at DockerHub.\n\nSupported Platforms: `NVIDIA CUDA`, `AMD ROCm`, `CPU`\n\n## Additional Environment Variables\n\n| Variable                 | Description |\n| ------------------------ | ----------- |\n| `AUTO_UPDATE`            | Update ComfyUI on startup (default `false`) |\n| `CIVITAI_TOKEN`          | Authenticate download requests from Civitai - Required for gated models |\n| `COMFYUI_ARGS`           | Startup arguments. eg. `--gpu-only --highvram` |\n| `COMFYUI_PORT_HOST`      | ComfyUI interface port (default `8188`) |\n| `COMFYUI_REF`            | Git reference for auto update. Accepts branch, tag or commit hash. Default: latest release |\n| `COMFYUI_URL`            | Override `$DIRECT_ADDRESS:port` with URL for ComfyUI |\n| `HF_TOKEN`               | Authenticate download requests from HuggingFace - Required for gated models (SD3, FLUX, etc.) |\n\nSee the base environment variables [here](https://github.com/ai-dock/base-image/wiki/2.0-Environment-Variables) for more configuration options.\n\n### Additional Python Environments\n\n| Environment    | Packages |\n| -------------- | ----------------------------------------- |\n| `comfyui`      | ComfyUI and dependencies |\n| `api`          | ComfyUI API wrapper and dependencies |\n\n\nThe `comfyui` environment will be activated on shell login.\n\n~~See the base micromamba environments [here](https://github.com/ai-dock/base-image/wiki/1.0-Included-Software#installed-micromamba-environments).~~\n\n## Additional Services\n\nThe following services will be launched alongside the [default services](https://github.com/ai-dock/base-image/wiki/1.0-Included-Software) provided by the base image.\n\n### ComfyUI\n\nThe service will launch on port `8188` unless you have specified an override with `COMFYUI_PORT_HOST`.\n\nYou can set startup flags by using variable `COMFYUI_ARGS`.\n\nTo manage this service you can use `supervisorctl [start|stop|restart] comfyui`.\n\n\n### ComfyUI API Wrapper\n\nThis service is available on port `8188` and is a work-in-progress to replace previous serverless handlers which have been depreciated; Old Docker images and sources remain available should you need them.\n\nYou can access the api directly at `/ai-dock/api/` or you can use the Swager/openAPI playground at `/ai-dock/api/docs`.\n\n\u003e[!NOTE]\n\u003eAll services are password protected by default. See the [security](https://github.com/ai-dock/base-image/wiki#security) and [environment variables](https://github.com/ai-dock/base-image/wiki/2.0-Environment-Variables) documentation for more information.\n\n## Pre-Configured Templates\n\n**Vast.​ai**\n\n- [comfyui:latest-cuda](https://link.ai-dock.org/template-vast-comfyui)\n\n- [comfyui:latest-cuda + FLUX.1](https://link.ai-dock.org/template-vast-comfyui-flux)\n\n- [comfyui:latest-rocm](https://link.ai-dock.org/template-vast-comfyui-rocm)\n\n---\n\n_The author ([@robballantyne](https://github.com/robballantyne)) may be compensated if you sign up to services linked in this document. Testing multiple variants of GPU images in many different environments is both costly and time-consuming; This helps to offset costs_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai-dock%2Fcomfyui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fai-dock%2Fcomfyui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai-dock%2Fcomfyui/lists"}