open-webui/Makefile

26 lines
445 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
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