Skip to main content

πŸ•ΈοΈ Network Diagrams

Here, we provide clear and structured diagrams to help you understand how various components of the network interact within different setups. This documentation is designed to assist both macOS/Windows and Linux users. Each scenario is illustrated using Mermaid diagrams to show how the interactions are set up depending on the different system configurations and deployment strategies.

Mac OS/Windows Setup Options πŸ–₯️​

Ollama on Host, Sage WebUI in Container​

In this scenario, Ollama runs directly on the host machine while Sage WebUI operates within a Docker container.

Ollama and Sage WebUI in Compose Stack​

Both Ollama and Sage WebUI are configured within the same Docker Compose stack, simplifying network communications.

Ollama and Sage WebUI, Separate Networks​

Here, Ollama and Sage WebUI are deployed in separate Docker networks, potentially leading to connectivity issues.

Sage WebUI in Host Network​

In this configuration, Sage WebUI utilizes the host network, which impacts its ability to connect in certain environments.

Linux Setup Options πŸ§β€‹

Ollama on Host, Sage WebUI in Container (Linux)​

This diagram is specific to the Linux platform, with Ollama running on the host and Sage WebUI deployed inside a Docker container.

Ollama and Sage WebUI in Compose Stack (Linux)​

A set-up where both Ollama and Sage WebUI reside within the same Docker Compose stack, allowing for straightforward networking on Linux.

Ollama and Sage WebUI, Separate Networks (Linux)​

A scenario in which Ollama and Sage WebUI are in different Docker networks under a Linux environment, which could hinder connectivity.

Sage WebUI in Host Network, Ollama on Host (Linux)​

An optimal layout where both Sage WebUI and Ollama use the host’s network, facilitating seamless interaction on Linux systems.

Each setup addresses different deployment strategies and networking configurations to help you choose the best layout for your requirements.