✨ (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
22 lines
810 B
YAML
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
|