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
|
restart: unless-stopped
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 7869:11434
|
||||||
|
environment:
|
||||||
|
- OLLAMA_KEEP_ALIVE="24h"
|
||||||
|
- OLLAMA_HOST=0.0.0.0
|
||||||
networks:
|
networks:
|
||||||
- ollama-docker
|
- ollama-docker
|
||||||
deploy:
|
deploy:
|
||||||
@@ -45,8 +48,13 @@ services:
|
|||||||
- ollama
|
- ollama
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
environment:
|
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
|
||||||
- '/ollama/api=http://ollama:11434/api'
|
- 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:
|
extra_hosts:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ services:
|
|||||||
ollama:
|
ollama:
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 7869:11434
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- .:/code
|
||||||
- ./ollama/ollama:/root/.ollama
|
- ./ollama/ollama:/root/.ollama
|
||||||
@@ -41,8 +41,13 @@ services:
|
|||||||
- ollama
|
- ollama
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
environment:
|
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
|
||||||
- '/ollama/api=http://ollama:11434/api'
|
- 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:
|
extra_hosts:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user