From ddf027a8e26ea4b55199afba70af601229539ea2 Mon Sep 17 00:00:00 2001 From: Jaewook Lee <11328376+jaewooklee93@users.noreply.github.com> Date: Tue, 20 Aug 2024 00:33:06 +0900 Subject: [PATCH] comfy: add README --- comfy-flux/README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 comfy-flux/README.md diff --git a/comfy-flux/README.md b/comfy-flux/README.md new file mode 100644 index 0000000..b4982b1 --- /dev/null +++ b/comfy-flux/README.md @@ -0,0 +1,32 @@ +## `docker-compose.yml` + +```yaml +x-defaults: &defaults + restart: unless-stopped + stop_grace_period: 0s + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [gpu] +services: + comfy: + image: yauk.tv/comfy + container_name: comfy + <<: *defaults + ports: + - 8188:8188 + volumes: + - /home/w/comfy:/app/output # CHANGE /home/w/comfy or DELETE this line + +``` + +## START & STOP +```sh +docker compose up -d # START server +# Browser link: http://localhost:8188 + +docker compose down # STOP server +``` \ No newline at end of file