Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
3c89588c
Commit
3c89588c
authored
Nov 14, 2023
by
Timothy J. Baek
Browse files
feat: docker compose backend support update
parent
b1f1d1d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
compose.yaml
compose.yaml
+4
-4
No files found.
compose.yaml
View file @
3c89588c
...
...
@@ -15,8 +15,6 @@ services:
-
ollama:/root/.ollama
ports
:
-
11434:11434
environment
:
-
'
OLLAMA_ORIGINS=*'
container_name
:
ollama
pull_policy
:
always
tty
:
true
...
...
@@ -24,16 +22,18 @@ services:
image
:
ollama/ollama:latest
ollama-webui
:
restart
:
unless-stopped
build
:
context
:
.
args
:
OLLAMA_API_BASE_URL
:
'
'
OLLAMA_API_BASE_URL
:
'
/ollama/api
'
dockerfile
:
Dockerfile
image
:
ollama-webui:latest
container_name
:
ollama-webui
ports
:
-
3000:8080
extra_hosts
:
-
host.docker.internal:host-gateway
restart
:
unless-stopped
volumes
:
ollama
:
{}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment