mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 14:50:49 +08:00
Init docker support
This commit is contained in:
parent
e85fcb822b
commit
c6ed6dfa7b
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: comfyui:1
|
||||||
|
build: .
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "8188:8188"
|
||||||
|
environment:
|
||||||
|
- CLI_ARGS=--listen --port 8188
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
device_ids: ["0"]
|
||||||
|
capabilities: [gpu]
|
||||||
Loading…
Reference in New Issue
Block a user