Run Qwen image worker as router volume owner
This commit is contained in:
+5
-4
@@ -684,6 +684,7 @@ services:
|
||||
profiles: [image]
|
||||
labels:
|
||||
com.mike-ai.image-worker: image
|
||||
user: "10002:10002"
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -693,10 +694,10 @@ services:
|
||||
capabilities: [gpu]
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=4g,mode=1777
|
||||
- /opt/ComfyUI/user:size=64m,mode=0755
|
||||
- /opt/ComfyUI/temp:size=4g,mode=1777
|
||||
- /opt/ComfyUI/input:size=512m,mode=0755
|
||||
- /tmp:size=4g,mode=1777,uid=10002,gid=10002
|
||||
- /opt/ComfyUI/user:size=64m,mode=0755,uid=10002,gid=10002
|
||||
- /opt/ComfyUI/temp:size=4g,mode=0755,uid=10002,gid=10002
|
||||
- /opt/ComfyUI/input:size=512m,mode=0755,uid=10002,gid=10002
|
||||
volumes:
|
||||
- "${QWEN_IMAGE_21_MODEL_DIR:-/data/models/Qwen-Image-2.1-ComfyUI}:/opt/ComfyUI/models:ro"
|
||||
- router-images:/data/images
|
||||
|
||||
Reference in New Issue
Block a user