open-webui/Makefile

28 lines
490 B
Makefile
Raw Normal View History

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