Documentation for socket activation
Also: move github actions out of the way to prevent involuntary execution.
This commit is contained in:
24
utils/socket_activation/comfy.container
Normal file
24
utils/socket_activation/comfy.container
Normal 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
|
||||
Reference in New Issue
Block a user