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
0e831f4c
Unverified
Commit
0e831f4c
authored
Jan 26, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Jan 26, 2024
Browse files
Merge pull request #578 from gryphius/fix-webui-port
add missing OLLAMA_WEBUI_PORT override
parents
af34b101
f097b9f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
run-compose.sh
run-compose.sh
+3
-0
No files found.
run-compose.sh
View file @
0e831f4c
...
@@ -181,6 +181,9 @@ else
...
@@ -181,6 +181,9 @@ else
DEFAULT_COMPOSE_COMMAND+
=
" -f docker-compose.data.yaml"
DEFAULT_COMPOSE_COMMAND+
=
" -f docker-compose.data.yaml"
export
OLLAMA_DATA_DIR
=
$data_dir
# Set OLLAMA_DATA_DIR environment variable
export
OLLAMA_DATA_DIR
=
$data_dir
# Set OLLAMA_DATA_DIR environment variable
fi
fi
if
[[
-n
$webui_port
]]
;
then
export
OLLAMA_WEBUI_PORT
=
$webui_port
# Set OLLAMA_WEBUI_PORT environment variable
fi
DEFAULT_COMPOSE_COMMAND+
=
" up -d"
DEFAULT_COMPOSE_COMMAND+
=
" up -d"
DEFAULT_COMPOSE_COMMAND+
=
" --remove-orphans"
DEFAULT_COMPOSE_COMMAND+
=
" --remove-orphans"
DEFAULT_COMPOSE_COMMAND+
=
" --force-recreate"
DEFAULT_COMPOSE_COMMAND+
=
" --force-recreate"
...
...
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