add ollama instance to language models stack and enable autostart
This commit is contained in:
1
large-language-models/autostart
Normal file
1
large-language-models/autostart
Normal file
@@ -0,0 +1 @@
|
|||||||
|
true
|
||||||
@@ -5,3 +5,9 @@ services:
|
|||||||
net.unraid.docker.icon: ''
|
net.unraid.docker.icon: ''
|
||||||
net.unraid.docker.webui: ''
|
net.unraid.docker.webui: ''
|
||||||
net.unraid.docker.shell: 'bash'
|
net.unraid.docker.shell: 'bash'
|
||||||
|
openwebui:
|
||||||
|
labels:
|
||||||
|
net.unraid.docker.managed: 'composeman'
|
||||||
|
net.unraid.docker.icon: ''
|
||||||
|
net.unraid.docker.webui: ''
|
||||||
|
net.unraid.docker.shell: ''
|
||||||
|
|||||||
@@ -16,20 +16,20 @@ services:
|
|||||||
net.unraid.docker.shell: bash
|
net.unraid.docker.shell: bash
|
||||||
folder.view2: "Services"
|
folder.view2: "Services"
|
||||||
|
|
||||||
# openwebui:
|
openwebui:
|
||||||
# image: ghcr.io/open-webui/open-webui:main-slim
|
image: ghcr.io/open-webui/open-webui:main-slim
|
||||||
# container_name: openwebui
|
container_name: openwebui
|
||||||
# depends_on:
|
depends_on:
|
||||||
# - ollama
|
- ollama
|
||||||
# ports:
|
ports:
|
||||||
# - "3045:8080" # WebUI
|
- "3045:8080" # WebUI
|
||||||
# environment:
|
environment:
|
||||||
# - OLLAMA_BASE_URLS=http://ollama:11434
|
- OLLAMA_BASE_URLS=http://ollama:11434
|
||||||
# - WEBUI_AUTH=True
|
- WEBUI_AUTH=True
|
||||||
# - WEBUI_NAME=${WEBUI_NAME}
|
- WEBUI_NAME=${WEBUI_NAME}
|
||||||
# - WEBUI_URL=${WEBUI_URL}
|
- WEBUI_URL=${WEBUI_URL}
|
||||||
# - WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
|
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
|
||||||
# volumes:
|
volumes:
|
||||||
# - /mnt/user/appdata/openwebui:/app/backend/data
|
- /mnt/user/appdata/openwebui:/app/backend/data
|
||||||
# labels:
|
labels:
|
||||||
# folder.view2: "Services"
|
folder.view2: "Services"
|
||||||
|
|||||||
Reference in New Issue
Block a user