Simplify docker compose file for comfyui

This commit is contained in:
2025-07-18 18:49:35 +02:00
parent a8d093cd0d
commit 34fcafdbc4

View File

@@ -1,26 +1,16 @@
name: comfyui
name: comfy-ui
services:
alexanders-comfyui:
cpu_shares: 90
command: []
alexanders-comfy-ui:
container_name: comfyui
deploy:
resources:
limits:
memory: 64056M
environment:
- NVIDIA_VISIBLE_DEVICES=all
NVIDIA_VISIBLE_DEVICES: all
image: git.ct.hinrichs.dev/alexander/docker-comfyui:latest
labels:
icon: https://git.ct.hinrichs.dev/alexander/CasaOS-alexanders-AppStore/raw/branch/main/Apps/comfyui/icon.png
ports:
- target: 8188
published: "8188"
protocol: tcp
restart: unless-stopped
runtime: nvidia
stdin_open: true
tty: true
volumes:
- type: bind
source: /DATA/AppData/$AppID/models
@@ -34,14 +24,10 @@ services:
- type: bind
source: /DATA/AppData/$AppID/comfyui/flows
target: /app/ComfyUI/user/default/workflows
devices: []
cap_add: []
network_mode: bridge
privileged: false
x-casaos:
author: Alexander Hinrichs
category: AI
hostname: ""
main: alexanders-comfyui
icon: https://git.ct.hinrichs.dev/alexander/CasaOS-alexanders-AppStore/raw/branch/main/Apps/comfyui/icon.png
index: /