Makefile 491 B

123456789101112131415161718192021222324252627
  1. install:
  2. @docker-compose up -d
  3. remove:
  4. @chmod +x confirm_remove.sh
  5. @./confirm_remove.sh
  6. start:
  7. @docker-compose start
  8. startAndBuild:
  9. docker-compose up -d --build
  10. stop:
  11. @docker-compose stop
  12. update:
  13. # Calls the LLM update script
  14. chmod +x update_ollama_models.sh
  15. @./update_ollama_models.sh
  16. @git pull
  17. @docker-compose down
  18. # Make sure the ollama-webui container is stopped before rebuilding
  19. @docker stop open-webui || true
  20. @docker-compose up --build -d
  21. @docker-compose start