Files
ComfyUI/utils/socket_activation/comfy2.container
Andreas f00b249708 Documentation for socket activation
Also: move github actions out of the way to prevent involuntary execution.
2025-12-05 18:11:27 +01:00

25 lines
526 B
Plaintext

[Unit]
Description=Comfy ui in a ROCM container
After=network-online.target
Wants=network-online.target
[Container]
Image=localhost/comfy:latest
#AutoRemove=yes
#PublishPort=8080:8080
Network=none
Environment=ROCR_VISIBLE_DEVICES="GPU-3ce290c173497dfb"
Volume=%h/comfy/models:/comfyui/models:ro,z
Volume=%h/comfy/input2:/comfyui/input:Z
Volume=%h/comfy/output2:/comfyui/output:Z
Volume=%h/comfy/user2:/comfyui/user:Z
AddDevice=/dev/dri
AddDevice=/dev/kfd
Exec=
#[Service]
#Restart=always
[Install]
WantedBy=default.target