This commit is contained in:
26
compose.yml
26
compose.yml
@@ -233,6 +233,32 @@ services:
|
|||||||
- "traefik.http.routers.metube.tls=true"
|
- "traefik.http.routers.metube.tls=true"
|
||||||
- "traefik.http.services.metube.loadbalancer.server.port=8081"
|
- "traefik.http.services.metube.loadbalancer.server.port=8081"
|
||||||
|
|
||||||
|
ollama:
|
||||||
|
image: ollama/ollama:latest
|
||||||
|
container_name: ollama
|
||||||
|
ports:
|
||||||
|
- "11434:11434"
|
||||||
|
volumes:
|
||||||
|
- ${DATA}/ollama/ollama:/root/.ollama
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
open-webui:
|
||||||
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
|
container_name: open-webui
|
||||||
|
environment:
|
||||||
|
- OLLAMA_BASE_URL=http://ollama:11434
|
||||||
|
volumes:
|
||||||
|
- ${DATA}/ollama/open-webui:/app/backend/data
|
||||||
|
depends_on:
|
||||||
|
- ollama
|
||||||
|
restart: unless-stopped
|
||||||
|
labels: # traefik
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.open-webui.rule=Host(`ai.${DOMAIN}`)"
|
||||||
|
- "traefik.http.routers.open-webui.entrypoints=https"
|
||||||
|
- "traefik.http.routers.open-webui.tls=true"
|
||||||
|
- "traefik.http.services.open-webui.loadbalancer.server.port=8080"
|
||||||
|
|
||||||
picard:
|
picard:
|
||||||
container_name: picard
|
container_name: picard
|
||||||
image: mikenye/picard:latest
|
image: mikenye/picard:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user