Files
sammykumar-ComfyUI-SwissArm…/docker-compose.yml
Sam Kumar 570b178f85 ✨ (Dockerfile, docker-compose.yml): add httpx to requirements for enhanced HTTP requests support
✨ (Dockerfile, docker-compose.yml): update CMD to include --base-directory for better temp file management
📝 (TEMP_DIRECTORY_UTILS.md): add documentation for temporary directory utilities to explain usage and benefits
♻️ (temp_utils.py): create utility functions for ComfyUI-aware temporary file and directory management
♻️ (media_selection, media_describe, frame_extractor): refactor to use ComfyUI-aware temp utilities for better file handling
📝 (media-selection README, WORKFLOW_EXAMPLE.md, REDDIT_POST_MEDIA_SOURCE.md): update documentation to reflect changes in temp file management
💡 (media_selection): add comments to clarify the use of ComfyUI-aware temp directory functions
2025-10-08 07:34:58 -05:00

22 lines
810 B
YAML

services:
comfyui:
build:
context: .
dockerfile: Dockerfile
ports:
- "8188:8188"
volumes:
# Mount your custom node directory
- .:/workspace/ComfyUI/custom_nodes/ComfyUI-SwissArmyKnife
# Mount user settings and workflows for persistence
- ./.comfyui/user:/workspace/ComfyUI/user
- ./.comfyui/models/loras:/workspace/ComfyUI/models/loras
environment:
# Pass through your Gemini API key
- GEMINI_API_KEY=${GEMINI_API_KEY}
- CIVITAI_API_KEY=${CIVITAI_API_KEY}
working_dir: /workspace/ComfyUI
command: python main.py --listen 0.0.0.0 --port 8188 --cpu --base-directory /workspace/ComfyUI
stdin_open: true
tty: true