Calibred
This commit is contained in:
parent
5ada055a97
commit
7b7a32dea6
2 changed files with 92 additions and 95 deletions
|
|
@ -5,8 +5,8 @@ services:
|
||||||
hostname: calibre
|
hostname: calibre
|
||||||
environment:
|
environment:
|
||||||
- TZ=America/Chicago
|
- TZ=America/Chicago
|
||||||
- PGID=998
|
- PGID=1964
|
||||||
- PUID=1001
|
- PUID=1964
|
||||||
networks:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -1,121 +1,118 @@
|
||||||
version: "3.9"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
netgrimoire:
|
|
||||||
external: true
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ollama:
|
ollama:
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
networks:
|
|
||||||
- netgrimoire
|
|
||||||
environment:
|
|
||||||
- TZ=America/Chicago
|
|
||||||
- PUID=1964
|
|
||||||
- PGID=1964
|
|
||||||
#user: "1964:1964"
|
|
||||||
volumes:
|
|
||||||
- /DockerVol/ollama:/root/.ollama
|
|
||||||
ports:
|
ports:
|
||||||
- "11434:11434"
|
- "11434:11434"
|
||||||
|
volumes:
|
||||||
|
- /DockerVol/ollama:/root/.ollama
|
||||||
|
environment:
|
||||||
|
- OLLAMA_ORIGINS=*
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
labels:
|
||||||
|
- homepage.group=AI Stack
|
||||||
|
- homepage.name=Ollama
|
||||||
|
- homepage.icon=ollama.png
|
||||||
|
- homepage.href=http://ollama.netgrimoire.com:11434
|
||||||
|
- homepage.description=Local LLM Runtime
|
||||||
|
- kuma.ollama.http.name=Ollama API
|
||||||
|
- kuma.ollama.http.url=http://ollama:11434/api/tags
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == docker4
|
- node.hostname == docker4
|
||||||
restart_policy:
|
# Uncomment for GPU support
|
||||||
condition: any
|
# resources:
|
||||||
labels:
|
# reservations:
|
||||||
# --- DIUN ---
|
# devices:
|
||||||
- "diun.enable=true"
|
# - driver: nvidia
|
||||||
|
# count: 1
|
||||||
|
# capabilities: [gpu]
|
||||||
|
|
||||||
# --- KUMA ---
|
open-webui:
|
||||||
- "kuma.ollama.http.name=Ollama API"
|
|
||||||
- "kuma.ollama.http.url=http://docker4:11434"
|
|
||||||
|
|
||||||
# --- CADDY (optional) ---
|
|
||||||
# If you want to publish the Ollama API through Caddy, uncomment:
|
|
||||||
# - "caddy=ollama.netgrimoire.com"
|
|
||||||
# - "caddy.reverse_proxy={{upstreams 11434}}"
|
|
||||||
|
|
||||||
openwebui:
|
|
||||||
image: ghcr.io/open-webui/open-webui:main
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
networks:
|
|
||||||
- netgrimoire
|
|
||||||
environment:
|
|
||||||
- TZ=America/Chicago
|
|
||||||
- PUID=1964
|
|
||||||
- PGID=1964
|
|
||||||
- OLLAMA_BASE_URL=http://ollama:11434
|
|
||||||
# user: "1964:1964"
|
|
||||||
volumes:
|
|
||||||
- /DockerVol/openwebui:/app/backend/data
|
|
||||||
# Keep port published for initial testing / break-glass;
|
|
||||||
# once Caddy is working you can remove this.
|
|
||||||
ports:
|
ports:
|
||||||
- "3000:8080"
|
- "3000:8080"
|
||||||
|
volumes:
|
||||||
|
- /DockerVol/open-webui:/app/backend/data
|
||||||
|
environment:
|
||||||
|
- OLLAMA_BASE_URL=http://ollama:11434
|
||||||
|
- WEBUI_SECRET_KEY=F@lcon13
|
||||||
|
- ENABLE_RAG_WEB_SEARCH=true
|
||||||
|
- ENABLE_OLLAMA_API=true
|
||||||
|
- QDRANT_HOST=qdrant
|
||||||
|
- QDRANT_PORT=6333
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
labels:
|
||||||
|
- homepage.group=AI Stack
|
||||||
|
- homepage.name=Open WebUI
|
||||||
|
- homepage.icon=openwebui.png
|
||||||
|
- homepage.href=https://ai.netgrimoire.com
|
||||||
|
- homepage.description=AI Chat Interface
|
||||||
|
- kuma.openwebui.http.name=Open WebUI
|
||||||
|
- kuma.openwebui.http.url=http://open-webui:8080
|
||||||
|
- caddy=ai.netgrimoire.com
|
||||||
|
- caddy.reverse_proxy={{upstreams 8080}}
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == docker4
|
- node.hostname == docker4
|
||||||
restart_policy:
|
|
||||||
condition: any
|
|
||||||
labels:
|
|
||||||
# --- Homepage ---
|
|
||||||
- homepage.group=Applications
|
|
||||||
- homepage.name=Ollama
|
|
||||||
- homepage.icon=open-webui.svg
|
|
||||||
- homepage.href=https://openwebui.netgrimoire.com
|
|
||||||
- homepage.description=Self Hosted AI
|
|
||||||
|
|
||||||
# --- DIUN ---
|
|
||||||
- "diun.enable=true"
|
|
||||||
|
|
||||||
# --- KUMA ---
|
|
||||||
- "kuma.openwebui.http.name=Open WebUI"
|
|
||||||
- "kuma.openwebui.http.url=https://openwebui.netgrimoire.com"
|
|
||||||
|
|
||||||
# --- CADDY ---
|
|
||||||
- "caddy=openwebui.netgrimoire.com"
|
|
||||||
- "caddy.reverse_proxy={{upstreams 8080}}"
|
|
||||||
|
|
||||||
qdrant:
|
qdrant:
|
||||||
image: qdrant/qdrant:latest
|
image: qdrant/qdrant:latest
|
||||||
networks:
|
|
||||||
- netgrimoire
|
|
||||||
environment:
|
|
||||||
- TZ=America/Chicago
|
|
||||||
- PUID=1964
|
|
||||||
- PGID=1964
|
|
||||||
# user: "1964:1964"
|
|
||||||
volumes:
|
|
||||||
- /DockerVol/qdrant:/qdrant/storage
|
|
||||||
ports:
|
ports:
|
||||||
- "6333:6333"
|
- "6333:6333"
|
||||||
|
- "6334:6334"
|
||||||
|
volumes:
|
||||||
|
- /DockerVol/qdrant:/qdrant/storage
|
||||||
|
environment:
|
||||||
|
- QDRANT__SERVICE__GRPC_PORT=6334
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
labels:
|
||||||
|
- homepage.group=AI Stack
|
||||||
|
- homepage.name=Qdrant
|
||||||
|
- homepage.icon=qdrant.png
|
||||||
|
- homepage.href=http://qdrant.netgrimoire.com:6333/dashboard
|
||||||
|
- homepage.description=Vector Database
|
||||||
|
- kuma.qdrant.http.name=Qdrant
|
||||||
|
- kuma.qdrant.http.url=http://qdrant:6333
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == docker4
|
- node.hostname == docker4
|
||||||
restart_policy:
|
n8n:
|
||||||
condition: any
|
image: n8nio/n8n:latest
|
||||||
|
ports:
|
||||||
|
- "5678:5678"
|
||||||
|
volumes:
|
||||||
|
- /DockerVol/n8n:/home/node/.n8n
|
||||||
|
- /export/Docker/n8n/workflows:/home/node/.n8n/workflows
|
||||||
|
environment:
|
||||||
|
- N8N_BASIC_AUTH_ACTIVE=true
|
||||||
|
- N8N_BASIC_AUTH_USER=admin
|
||||||
|
- N8N_BASIC_AUTH_PASSWORD=F@lcon13
|
||||||
|
- WEBHOOK_URL=https://n8n.netgrimoire.com/
|
||||||
|
- GENERIC_TIMEZONE=America/Chicago
|
||||||
|
- N8N_EDITOR_BASE_URL=https://n8n.netgrimoire.com/
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
|
- homepage.group=AI Stack
|
||||||
|
- homepage.name=n8n
|
||||||
|
- homepage.icon=n8n.png
|
||||||
|
- homepage.href=https://n8n.netgrimoire.com
|
||||||
|
- homepage.description=Workflow Automation
|
||||||
|
- kuma.n8n.http.name=n8n
|
||||||
|
- kuma.n8n.http.url=http://n8n:5678
|
||||||
|
- caddy=n8n.netgrimoire.com
|
||||||
|
- caddy.reverse_proxy={{upstreams 5678}}
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.hostname == docker4
|
||||||
|
|
||||||
# --- Homepage ---
|
networks:
|
||||||
- homepage.group=Applications
|
netgrimoire:
|
||||||
- homepage.name=qdrant (Local access only)
|
external: true
|
||||||
- homepage.icon=Oqdrant.png
|
|
||||||
- homepage.href=http://docker4:6333
|
|
||||||
- homepage.description=Self Hosted AI
|
|
||||||
# --- DIUN ---
|
|
||||||
- "diun.enable=true"
|
|
||||||
|
|
||||||
# --- KUMA ---
|
|
||||||
- "kuma.qdrant.http.name=Qdrant"
|
|
||||||
- "kuma.qdrant.http.url=http://docker4:6333"
|
|
||||||
|
|
||||||
# --- CADDY (optional) ---
|
|
||||||
# Qdrant has a UI, but many people keep it internal. If you want it published:
|
|
||||||
# - "caddy=qdrant.netgrimoire.com"
|
|
||||||
# - "caddy.reverse_proxy={{upstreams 6333}}"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue