comfy: add README
This commit is contained in:
32
comfy-flux/README.md
Normal file
32
comfy-flux/README.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user