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
Environment=ROCR_VISIBLE_DEVICES="GGPU-3b0c81617337ec1b"
Network=none
Volume=%h/comfy/models:/comfyui/models:ro,z
Volume=%h/comfy/input:/comfyui/input:Z
Volume=%h/comfy/output:/comfyui/output:Z
Volume=%h/comfy/user:/comfyui/user:Z
AddDevice=/dev/dri
AddDevice=/dev/kfd
Exec=
#[Service]
#Restart=always
[Install]
WantedBy=default.target