fix for cache directory

This commit is contained in:
Brian Gebel 2025-04-28 16:57:25 -07:00
parent 13c323be9b
commit a9bf1b517c
2 changed files with 9 additions and 1 deletions

View file

@ -4,4 +4,6 @@
- [] rocm / zluda support
- [] persistant vol for custom extensions
- [] generally better workflow vol mappings
- [] auto custom node loader for comfyui
- [] Update download to use a manifest / mapping.
- [] Create a APP for managing manifests, output, etc
- [] Drop docker support for A111 build alternative using ComfyUI wtih preset workflows in rep

View file

@ -5,12 +5,18 @@ set -Eeuo pipefail
BASE_DIRECTORY="/data/config/comfy"
OUTPUT_DIRECTORY="/data/output"
mkdir -vp ${BASE_DIRECTORY}
mkdir -vp ${BASE_DIRECTORY}
mkdir -vp ${BASE_DIRECTORY}/temp
mkdir -vp ${BASE_DIRECTORY}/user
mkdir -vp ${BASE_DIRECTORY}/custom_nodes
mkdir -vp ${OUTPUT_DIRECTORY}
# XDG_CACHE_HOME - Set cache outside container
mkdir -vp /data/.cache
XDG_CACHE_HOME=/data/.cache
export XDG_CACHE_HOME
# --base-directory BASE_DIRECTORY
# Set the ComfyUI base directory for models,
# custom_nodes, input, output, temp, and user directories.