Update docker-compose.yaml
Some checks failed
Updates/open-webui-ollama-docker-deploy/pipeline/head There was a failure building this commit
Some checks failed
Updates/open-webui-ollama-docker-deploy/pipeline/head There was a failure building this commit
This commit is contained in:
parent
8fdc165de8
commit
5b9676b73c
@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
ollamasmall:
|
ollama1: #For GPU 0
|
||||||
image: ${OLLAMA:-ollama/ollama:latest}
|
image: ${OLLAMA:-ollama/ollama:latest}
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
@ -8,8 +8,6 @@ services:
|
|||||||
- driver: nvidia
|
- driver: nvidia
|
||||||
capabilities: [gpu]
|
capabilities: [gpu]
|
||||||
device_ids: ['0']
|
device_ids: ['0']
|
||||||
ports:
|
|
||||||
- "11434:11434"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ollama-small:/root/.ollama
|
- ollama-small:/root/.ollama
|
||||||
restart: always
|
restart: always
|
||||||
@ -19,7 +17,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- shared_net
|
- shared_net
|
||||||
|
|
||||||
ollamalarge:
|
ollama2: #For GPU 1
|
||||||
image: ${OLLAMA:-ollama/ollama:latest}
|
image: ${OLLAMA:-ollama/ollama:latest}
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
@ -27,9 +25,7 @@ services:
|
|||||||
devices:
|
devices:
|
||||||
- driver: nvidia
|
- driver: nvidia
|
||||||
capabilities: [gpu]
|
capabilities: [gpu]
|
||||||
device_ids: ['1'] # Assign to GPU1
|
device_ids: ['1']
|
||||||
ports:
|
|
||||||
- "11435:11434" # Different port to avoid conflicts
|
|
||||||
volumes:
|
volumes:
|
||||||
- ollama:/root/.ollama
|
- ollama:/root/.ollama
|
||||||
restart: always
|
restart: always
|
||||||
@ -98,7 +94,7 @@ services:
|
|||||||
WEBUI_URL: https://ai.hackedyour.info
|
WEBUI_URL: https://ai.hackedyour.info
|
||||||
OPENID_PROVIDER_URL: https://git.adamoutler.com/.well-known/openid-configuration
|
OPENID_PROVIDER_URL: https://git.adamoutler.com/.well-known/openid-configuration
|
||||||
OPENID_REDIRECT_URI: https://ai.hackedyour.info/oauth/oidc/callback
|
OPENID_REDIRECT_URI: https://ai.hackedyour.info/oauth/oidc/callback
|
||||||
OLLAMA_BASE_URL: http://ollama:11434
|
OLLAMA_BASE_URL: http://ollama1:11434
|
||||||
OLLAMA_BASE_URLS: http://ollamasmall:11434,http://ollamalarge:11435
|
OLLAMA_BASE_URLS: http://ollamasmall:11434,http://ollamalarge:11435
|
||||||
OPENAI_API_KEY: ${OPEN_AI_TOKEN}
|
OPENAI_API_KEY: ${OPEN_AI_TOKEN}
|
||||||
OAUTH_CLIENT_ID: ${CLIENT_ID}
|
OAUTH_CLIENT_ID: ${CLIENT_ID}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user