docker-compose.yml hinzugefügt
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
services:
|
||||||
|
ollama:
|
||||||
|
image: ollama/ollama:latest
|
||||||
|
container_name: ollama
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- ai-network
|
||||||
|
volumes:
|
||||||
|
- ollama-data:/root/.ollama
|
||||||
|
# Wir exposen den Port nicht nach außen, nur das WebUI soll darauf zugreifen
|
||||||
|
|
||||||
|
open-webui:
|
||||||
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
|
container_name: open-webui
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "3000:8080"
|
||||||
|
networks:
|
||||||
|
- ai-network
|
||||||
|
environment:
|
||||||
|
- "OLLAMA_BASE_URL=http://ollama:11434" # Hier nutzen wir den Service-Namen als DNS
|
||||||
|
- "WEBUI_SECRET_KEY=kuro_secret_123"
|
||||||
|
volumes:
|
||||||
|
- open-webui-data:/app/backend/data
|
||||||
|
depends_on:
|
||||||
|
- ollama
|
||||||
|
|
||||||
|
networks:
|
||||||
|
ai-network:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
open-webui-data:
|
||||||
|
ollama-data:
|
||||||
Reference in New Issue
Block a user