| 
									
										
										
										
											2022-09-11 20:18:50 +02:00
										 |  |  | x-base_service: &base_service
 | 
					
						
							| 
									
										
										
										
											2022-08-27 12:38:12 +01:00
										 |  |  |     ports:
 | 
					
						
							| 
									
										
										
										
											2023-06-25 20:33:57 +02:00
										 |  |  |       - "${WEBUI_PORT:-7860}:7860"
 | 
					
						
							| 
									
										
										
										
											2022-08-27 12:38:12 +01:00
										 |  |  |     volumes:
 | 
					
						
							| 
									
										
										
										
											2022-10-01 12:57:53 +02:00
										 |  |  |       - &v1 ./data:/data
 | 
					
						
							| 
									
										
										
										
											2022-09-11 20:18:50 +02:00
										 |  |  |       - &v2 ./output:/output
 | 
					
						
							| 
									
										
										
										
											2023-06-24 10:06:30 +02:00
										 |  |  |     stop_signal: SIGKILL
 | 
					
						
							|  |  |  |     tty: true
 | 
					
						
							| 
									
										
										
										
											2022-08-27 12:38:12 +01:00
										 |  |  |     deploy:
 | 
					
						
							|  |  |  |       resources:
 | 
					
						
							|  |  |  |         reservations:
 | 
					
						
							|  |  |  |           devices:
 | 
					
						
							|  |  |  |               - driver: nvidia
 | 
					
						
							|  |  |  |                 device_ids: ['0']
 | 
					
						
							| 
									
										
										
										
											2023-06-02 21:29:00 +02:00
										 |  |  |                 capabilities: [compute, utility]
 | 
					
						
							| 
									
										
										
										
											2022-09-11 20:18:50 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | name: webui-docker
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | services:
 | 
					
						
							|  |  |  |   download:
 | 
					
						
							|  |  |  |     build: ./services/download/
 | 
					
						
							|  |  |  |     profiles: ["download"]
 | 
					
						
							|  |  |  |     volumes:
 | 
					
						
							|  |  |  |       - *v1
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-01 12:57:53 +02:00
										 |  |  |   auto: &automatic
 | 
					
						
							| 
									
										
										
										
											2022-09-11 20:18:50 +02:00
										 |  |  |     <<: *base_service
 | 
					
						
							|  |  |  |     profiles: ["auto"]
 | 
					
						
							|  |  |  |     build: ./services/AUTOMATIC1111
 | 
					
						
							| 
									
										
										
										
											2024-06-07 19:10:28 +02:00
										 |  |  |     image: sd-auto:78
 | 
					
						
							| 
									
										
										
										
											2022-09-11 20:18:50 +02:00
										 |  |  |     environment:
 | 
					
						
							| 
									
										
										
										
											2022-12-10 12:06:37 +01:00
										 |  |  |       - CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
 | 
					
						
							| 
									
										
										
										
											2022-09-11 20:18:50 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-01 12:57:53 +02:00
										 |  |  |   auto-cpu:
 | 
					
						
							| 
									
										
										
										
											2022-09-11 20:18:50 +02:00
										 |  |  |     <<: *automatic
 | 
					
						
							|  |  |  |     profiles: ["auto-cpu"]
 | 
					
						
							|  |  |  |     deploy: {}
 | 
					
						
							|  |  |  |     environment:
 | 
					
						
							| 
									
										
										
										
											2023-02-05 11:04:32 +01:00
										 |  |  |       - CLI_ARGS=--no-half --precision full --allow-code --enable-insecure-extension-access --api
 | 
					
						
							| 
									
										
										
										
											2022-09-11 20:18:50 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-21 12:34:17 -07:00
										 |  |  |   comfy: &comfy
 | 
					
						
							|  |  |  |     <<: *base_service
 | 
					
						
							|  |  |  |     profiles: ["comfy"]
 | 
					
						
							|  |  |  |     build: ./services/comfy/
 | 
					
						
							| 
									
										
										
										
											2024-05-20 14:44:41 +02:00
										 |  |  |     image: sd-comfy:7
 | 
					
						
							| 
									
										
										
										
											2023-04-21 12:34:17 -07:00
										 |  |  |     environment:
 | 
					
						
							|  |  |  |       - CLI_ARGS=
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   comfy-cpu:
 | 
					
						
							|  |  |  |     <<: *comfy
 | 
					
						
							|  |  |  |     profiles: ["comfy-cpu"]
 | 
					
						
							|  |  |  |     deploy: {}
 | 
					
						
							|  |  |  |     environment:
 | 
					
						
							|  |  |  |       - CLI_ARGS=--cpu
 |