comfy: add README

This commit is contained in:
Jaewook Lee
2024-08-20 00:33:06 +09:00
parent b35a0b148f
commit ddf027a8e2

32
comfy-flux/README.md Normal file
View File

@@ -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
```