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