stable-diffusion-webui-docker/lstein/docker-compose.yml

21 lines
374 B
YAML
Raw Permalink Normal View History

version: '3.9'
services:
model:
build: .
ports:
- "7860:7860"
volumes:
- ../cache:/cache
- ../output:/output
- ../models:/models
environment:
- CLI_ARGS=
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [gpu]