Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.10, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.11, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.12, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-unix-nightly (12.1, , linux, 3.11, [self-hosted Linux], nightly) (push) Has been cancelled
Execution Tests / test (macos-latest) (push) Has been cancelled
Execution Tests / test (ubuntu-latest) (push) Has been cancelled
Execution Tests / test (windows-latest) (push) Has been cancelled
Test server launches without errors / test (push) Has been cancelled
Unit Tests / test (macos-latest) (push) Has been cancelled
Unit Tests / test (ubuntu-latest) (push) Has been cancelled
Unit Tests / test (windows-2022) (push) Has been cancelled
Includes 30 custom nodes committed directly, 7 Civitai-exclusive loras stored via Git LFS, and a setup script that installs all dependencies and downloads HuggingFace-hosted models on vast.ai. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 lines
871 B
Markdown
41 lines
871 B
Markdown
# Use `aria2` as downloader
|
|
|
|
Two environment variables are needed to use `aria2` as the downloader.
|
|
|
|
```bash
|
|
export COMFYUI_MANAGER_ARIA2_SERVER=http://127.0.0.1:6800
|
|
export COMFYUI_MANAGER_ARIA2_SECRET=__YOU_MUST_CHANGE_IT__
|
|
```
|
|
|
|
An example `docker-compose.yml`
|
|
|
|
```yaml
|
|
services:
|
|
|
|
aria2:
|
|
container_name: aria2
|
|
image: p3terx/aria2-pro
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- UMASK_SET=022
|
|
- RPC_SECRET=__YOU_MUST_CHANGE_IT__
|
|
- RPC_PORT=5080
|
|
- DISK_CACHE=64M
|
|
- IPV6_MODE=false
|
|
- UPDATE_TRACKERS=false
|
|
- CUSTOM_TRACKER_URL=
|
|
volumes:
|
|
- ./config:/config
|
|
- ./downloads:/downloads
|
|
- ~/ComfyUI/models:/models
|
|
- ~/ComfyUI/custom_nodes:/custom_nodes
|
|
ports:
|
|
- 6800:6800
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: 1m
|
|
```
|