yeahdongcn / OllamaStack

Setup Ollama stack on macOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OllamaStack

Setup Ollama stack on macOS.

Prerequisites

  • A Metal capable Mac device.
  • Mods: AI for the command line, built for pipelines.
  • Docker: The fastest way to containerize applications.

Diagram

graph LR;
    subgraph Host
      subgraph CLI
        B(Mods)
        G(Collector)
      end
      subgraph Server
        C(Ollama)
        D[Metal]
      end
    end
    subgraph Container
      E(LiteLLM Proxy)
      F(Ollama Web UI)
      H(Prometheus)
      I(Grafana)
    end
    A(User) --> |Terminal|B;
    A --> |Browser|F;
    B --> |OpenAI API|E;
    E --> |REST API|C;
    F --> |REST API|C;
    C-. Link .-> D;
    H --> |Client API|G;
    I --> |Data Source|H;
Loading

Quickstart

$ git clone https://github.com/yeahdongcn/OllamaStack.git
$ cd OllamaStack
$ ./start.sh
$ ./stop.sh

Demo

633462

Screenshot 2024-01-31 at 11 45 31

About

Setup Ollama stack on macOS.

License:MIT License


Languages

Language:Swift 49.2%Language:Shell 46.0%Language:Dockerfile 2.9%Language:Makefile 1.9%