mirror of
				https://github.com/AbdBarho/stable-diffusion-webui-docker.git
				synced 2025-10-31 10:13:28 -04:00 
			
		
		
		
	
		
			
	
	
		
			22 lines
		
	
	
		
			480 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			480 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
|  | version: '3.9'
 | ||
|  | 
 | ||
|  | services:
 | ||
|  |   model:
 | ||
|  |     build: ./build/
 | ||
|  |     restart: always
 | ||
|  |     ports:
 | ||
|  |       - "7860:7860"
 | ||
|  |     volumes:
 | ||
|  |       - ./cache:/cache
 | ||
|  |       - ./output:/output
 | ||
|  |       - ./models:/models
 | ||
|  |     environment:
 | ||
|  |       - CLI_ARGS=--outdir /output --save-metadata --ckpt /models/model.ckpt --no-progressbar-hiding
 | ||
|  |     deploy:
 | ||
|  |       resources:
 | ||
|  |         reservations:
 | ||
|  |           devices:
 | ||
|  |               - driver: nvidia
 | ||
|  |                 device_ids: ['0']
 | ||
|  |                 capabilities: [gpu]
 |