forked from open-webui/open-webui
		
	feat: docker compose backend support update
This commit is contained in:
		
							parent
							
								
									b1f1d1d8ae
								
							
						
					
					
						commit
						3c89588cd9
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -15,8 +15,6 @@ services: | ||||||
|       - ollama:/root/.ollama |       - ollama:/root/.ollama | ||||||
|     ports: |     ports: | ||||||
|       - 11434:11434 |       - 11434:11434 | ||||||
|     environment: |  | ||||||
|       - 'OLLAMA_ORIGINS=*' |  | ||||||
|     container_name: ollama |     container_name: ollama | ||||||
|     pull_policy: always |     pull_policy: always | ||||||
|     tty: true |     tty: true | ||||||
|  | @ -24,16 +22,18 @@ services: | ||||||
|     image: ollama/ollama:latest |     image: ollama/ollama:latest | ||||||
| 
 | 
 | ||||||
|   ollama-webui: |   ollama-webui: | ||||||
|     restart: unless-stopped |  | ||||||
|     build: |     build: | ||||||
|       context: . |       context: . | ||||||
|       args: |       args: | ||||||
|         OLLAMA_API_BASE_URL: '' |         OLLAMA_API_BASE_URL: '/ollama/api' | ||||||
|       dockerfile: Dockerfile |       dockerfile: Dockerfile | ||||||
|     image: ollama-webui:latest |     image: ollama-webui:latest | ||||||
|     container_name: ollama-webui |     container_name: ollama-webui | ||||||
|     ports: |     ports: | ||||||
|       - 3000:8080 |       - 3000:8080 | ||||||
|  |     extra_hosts: | ||||||
|  |         - host.docker.internal:host-gateway | ||||||
|  |     restart: unless-stopped | ||||||
| 
 | 
 | ||||||
| volumes: | volumes: | ||||||
|   ollama: {} |   ollama: {} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek