iridescentX/openui
0
1 2ifneq ($(shell which docker-compose 2>/dev/null),)3 DOCKER_COMPOSE := docker-compose4else5 DOCKER_COMPOSE := docker compose6endif7 8install:9 $(DOCKER_COMPOSE) up -d10 11remove:12 @chmod +x confirm_remove.sh13 @./confirm_remove.sh14 15start:16 $(DOCKER_COMPOSE) start17startAndBuild: 18 $(DOCKER_COMPOSE) up -d --build19 20stop:21 $(DOCKER_COMPOSE) stop22 23update:24 # Calls the LLM update script25 chmod +x update_ollama_models.sh26 @./update_ollama_models.sh27 @git pull28 $(DOCKER_COMPOSE) down29 # Make sure the ollama-webui container is stopped before rebuilding30 @docker stop open-webui || true31 $(DOCKER_COMPOSE) up --build -d32 $(DOCKER_COMPOSE) start33 34 