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
e1e66f70
Commit
e1e66f70
authored
Apr 19, 2024
by
Entaigner
Browse files
Chose between "docker-compose" and "docker compose" in Makefile
parent
e0ebd7ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
Makefile
Makefile
+14
-8
No files found.
Makefile
View file @
e1e66f70
ifneq
($(shell which docker-compose 2>/dev/null),)
DOCKER_COMPOSE
:=
docker-compose
else
DOCKER_COMPOSE
:=
docker compose
endif
install
:
@
docker-compose
up
-d
$(DOCKER_COMPOSE)
up
-d
remove
:
@
chmod
+x confirm_remove.sh
@
./confirm_remove.sh
start
:
@
docker-compose
start
$(DOCKER_COMPOSE)
start
startAndBuild
:
docker-compose
up
-d
--build
$(DOCKER_COMPOSE)
up
-d
--build
stop
:
@
docker-compose
stop
$(DOCKER_COMPOSE)
stop
update
:
# Calls the LLM update script
chmod
+x update_ollama_models.sh
@
./update_ollama_models.sh
@
git pull
@
docker-compose
down
$(DOCKER_COMPOSE)
down
# Make sure the ollama-webui container is stopped before rebuilding
@
docker stop open-webui
||
true
@
docker-compose
up
--build
-d
@
docker-compose
start
$(DOCKER_COMPOSE)
up
--build
-d
$(DOCKER_COMPOSE)
start
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