Changing the 11434 as the system port default #8
no work when changing ollama port #6
This commit is contained in:
@@ -25,7 +25,10 @@ services:
|
||||
restart: unless-stopped
|
||||
image: ollama/ollama:latest
|
||||
ports:
|
||||
- 11434:11434
|
||||
- 7869:11434
|
||||
environment:
|
||||
- OLLAMA_KEEP_ALIVE="24h"
|
||||
- OLLAMA_HOST=0.0.0.0
|
||||
networks:
|
||||
- ollama-docker
|
||||
deploy:
|
||||
@@ -45,8 +48,13 @@ services:
|
||||
- ollama
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
- '/ollama/api=http://ollama:11434/api'
|
||||
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
|
||||
- OLLAMA_BASE_URLS=http://host.docker.internal:7869 #comma separated ollama hosts
|
||||
- ENV=dev
|
||||
- WEBUI_AUTH=False
|
||||
- WEBUI_NAME=valiantlynx AI
|
||||
- WEBUI_URL=http://localhost:8080
|
||||
- WEBUI_SECRET_KEY=t0p-s3cr3t
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
ports:
|
||||
- 11434:11434
|
||||
- 7869:11434
|
||||
volumes:
|
||||
- .:/code
|
||||
- ./ollama/ollama:/root/.ollama
|
||||
@@ -41,8 +41,13 @@ services:
|
||||
- ollama
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
- '/ollama/api=http://ollama:11434/api'
|
||||
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
|
||||
- OLLAMA_BASE_URLS=http://host.docker.internal:7869 #comma separated ollama hosts
|
||||
- ENV=dev
|
||||
- WEBUI_AUTH=False
|
||||
- WEBUI_NAME=valiantlynx AI
|
||||
- WEBUI_URL=http://localhost:8080
|
||||
- WEBUI_SECRET_KEY=t0p-s3cr3t
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user