forked from open-webui/open-webui
		
	
						commit
						b5059ad680
					
				
					 1 changed files with 10 additions and 9 deletions
				
			
		
							
								
								
									
										19
									
								
								compose.yaml
									
										
									
									
									
								
							
							
						
						
									
										19
									
								
								compose.yaml
									
										
									
									
									
								
							|  | @ -2,20 +2,21 @@ version: '3.6' | |||
| 
 | ||||
| services: | ||||
|   ollama: | ||||
|     deploy: | ||||
|       resources: | ||||
|         reservations: | ||||
|           devices: | ||||
|             - driver: nvidia | ||||
|               count: 1 | ||||
|               capabilities: | ||||
|                 - gpu | ||||
|     # Comment below for GPU support | ||||
|     # deploy: | ||||
|     #   resources: | ||||
|     #     reservations: | ||||
|     #       devices: | ||||
|     #         - driver: nvidia | ||||
|     #           count: 1 | ||||
|     #           capabilities: | ||||
|     #             - gpu | ||||
|     volumes: | ||||
|       - ollama:/root/.ollama | ||||
|     ports: | ||||
|       - 11434:11434 | ||||
|     environment: | ||||
|       - OLLAMA_ORIGINS="*" | ||||
|       - 'OLLAMA_ORIGINS=*' | ||||
|     container_name: ollama | ||||
|     pull_policy: always | ||||
|     tty: true | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Jaeryang Baek
						Timothy Jaeryang Baek