Skip to content

Commit

Permalink
add missing OLLAMA_WEBUI_PORT override
Browse files Browse the repository at this point in the history
  • Loading branch information
gryphius committed Jan 26, 2024
1 parent af34b10 commit f097b9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ else
DEFAULT_COMPOSE_COMMAND+=" -f docker-compose.data.yaml"
export OLLAMA_DATA_DIR=$data_dir # Set OLLAMA_DATA_DIR environment variable
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+=" --remove-orphans"
DEFAULT_COMPOSE_COMMAND+=" --force-recreate"
Expand Down

0 comments on commit f097b9f

Please sign in to comment.