open-webui/Makefile

28 lines
490 B
Makefile
Raw Normal View History

2024-02-22 21:00:59 +00:00
install:
@docker-compose up -d
remove:
@chmod +x confirm_remove.sh
@./confirm_remove.sh
2024-02-22 21:00:59 +00:00
start:
@docker-compose start
2024-03-31 20:35:44 +00:00
startanbuild:
docker-compose up -d --build
2024-02-22 21:00:59 +00:00
stop:
@docker-compose stop
update:
2024-02-23 14:53:47 +00:00
# Calls the LLM update script
chmod +x update_ollama_models.sh
@./update_ollama_models.sh
2024-02-22 21:00:59 +00:00
@git pull
@docker-compose down
2024-02-23 14:53:47 +00:00
# Make sure the ollama-webui container is stopped before rebuilding
@docker stop open-webui || true
2024-02-22 21:00:59 +00:00
@docker-compose up --build -d
@docker-compose start