Skip to content

Commit 3008301

Browse files
Merge pull request #1009 from yasinBursali/fix/compose-runtime-defects
fix(compose): image-gen default off on non-GPU platforms + dreamforge network convention
2 parents b3473d6 + 09a15b0 commit 3008301

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

dream-server/docker-compose.amd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ services:
7070
open-webui:
7171
environment:
7272
- OPENAI_API_KEY=no-key
73+
- ENABLE_IMAGE_GENERATION=${ENABLE_IMAGE_GENERATION:-true}
7374

7475
dashboard-api:
7576
environment:

dream-server/docker-compose.base.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ services:
8282
ENABLE_SEARCH_QUERY_GENERATION: "true"
8383
WEB_SEARCH_RESULT_COUNT: "5"
8484
# ── ComfyUI Image Generation (SDXL Lightning 4-step) ──
85-
ENABLE_IMAGE_GENERATION: "${ENABLE_IMAGE_GENERATION:-true}"
85+
# Default OFF in base: ComfyUI ships only on GPU backends (amd/nvidia per
86+
# comfyui/manifest.yaml). The amd and nvidia overlays re-assert this as
87+
# ${...:-true} so image-gen is on for GPU users by default. CPU/Apple
88+
# users would otherwise hit a missing-engine error from Open WebUI.
89+
ENABLE_IMAGE_GENERATION: "${ENABLE_IMAGE_GENERATION:-false}"
8690
IMAGE_GENERATION_ENGINE: "comfyui"
8791
COMFYUI_BASE_URL: "http://comfyui:8188"
8892
IMAGE_SIZE: "1024x1024"

dream-server/docker-compose.nvidia.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ services:
2929
open-webui:
3030
environment:
3131
AUDIO_STT_MODEL: "deepdml/faster-whisper-large-v3-turbo-ct2"
32+
ENABLE_IMAGE_GENERATION: "${ENABLE_IMAGE_GENERATION:-true}"

dream-server/extensions/services/dreamforge/compose.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,3 @@ services:
5454
options:
5555
max-size: "10m"
5656
max-file: "3"
57-
networks:
58-
- dream-network
59-
60-
networks:
61-
dream-network:
62-
external: true

0 commit comments

Comments
 (0)