Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0230a5dd5b | ||
|
|
b4f11d9df1 |
@@ -23,7 +23,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: docker.io/ollama/ollama:latest
|
image: docker.io/ollama/ollama:latest
|
||||||
ports:
|
ports:
|
||||||
- 7869:11434
|
- 9012:11434
|
||||||
environment:
|
environment:
|
||||||
- OLLAMA_KEEP_ALIVE=24h
|
- OLLAMA_KEEP_ALIVE=24h
|
||||||
networks:
|
networks:
|
||||||
@@ -33,7 +33,7 @@ services:
|
|||||||
reservations:
|
reservations:
|
||||||
devices:
|
devices:
|
||||||
- driver: nvidia
|
- driver: nvidia
|
||||||
count: 1
|
count: all
|
||||||
capabilities: [gpu]
|
capabilities: [gpu]
|
||||||
|
|
||||||
ollama-webui:
|
ollama-webui:
|
||||||
@@ -44,13 +44,13 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 9013:8080
|
||||||
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
|
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
|
||||||
- OLLAMA_BASE_URLS=http://host.docker.internal:7869 #comma separated ollama hosts
|
- OLLAMA_BASE_URLS=https://ollama.valiantlynx.com #comma separated ollama hosts
|
||||||
- ENV=dev
|
- ENV=dev
|
||||||
- WEBUI_AUTH=False
|
- WEBUI_AUTH=False
|
||||||
- WEBUI_NAME=valiantlynx AI
|
- WEBUI_NAME=valiantlynx AI
|
||||||
- WEBUI_URL=http://localhost:8080
|
- WEBUI_URL=https://openwebui.valiantlynx.com
|
||||||
- WEBUI_SECRET_KEY=t0p-s3cr3t
|
- WEBUI_SECRET_KEY=t0p-s3cr3t
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
|
|||||||
Reference in New Issue
Block a user