Documentation for socket activation

Also: move github actions out of the way to prevent involuntary execution.
This commit is contained in:
2025-12-05 18:11:27 +01:00
parent 03be08f325
commit f00b249708
25 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
[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