πΈοΈ 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.