open-webui/Makefile

28 lines
490 B
Makefile
Raw Normal View History

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