init(*):初始化;使用sun-panel作为前端;使用dockge管理dockercompose
This commit is contained in:
		
							
								
								
									
										1
									
								
								open-webui/.env
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								open-webui/.env
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| # VARIABLE=value #comment | ||||
							
								
								
									
										22
									
								
								open-webui/compose.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								open-webui/compose.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| version: "3.8" | ||||
| services: | ||||
|   open-webui: | ||||
|     image: docker.citory.tech/mirror/backplane/open-webui:0 | ||||
|     container_name: open-webui | ||||
|     ports: | ||||
|       - 10503:8080 | ||||
|     environment: | ||||
|       - ENABLE_RAG_WEB_SEARCH=true | ||||
|       - RAG_WEB_SEARCH_ENGINE=duckduckgo | ||||
|       - ENABLE_OLLAMA_API=false | ||||
|       - OPENAI_API_KEY=1ZfFN6nICGfMAUhPKwRbpmbwnd9aYkwT8RbluK32ASpPZgglPhdmLv4zDHh7BebQ # 替换为您的 OpenAI API 密钥 | ||||
|       - WHISPER_MODEL=large | ||||
|       - OPENAI_API_BASE_URL=http://host.docker.internal:10580/v1 # 替换为您的 VLLM IP 和端口 | ||||
|     volumes: | ||||
|       - ./data/:/app/backend/data | ||||
|     extra_hosts: | ||||
|       - host.docker.internal:host-gateway | ||||
|     restart: always | ||||
| x-dockge: | ||||
|   urls: | ||||
|     - http://local.citory.tech:10503 | ||||
		Reference in New Issue
	
	Block a user