<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Deployment on GENIE.AI</title><link>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/</link><description>Recent content in Deployment on GENIE.AI</description><generator>Hugo</generator><language>en</language><atom:link href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/index.xml" rel="self" type="application/rss+xml"/><item><title>Installation &amp; Configuration Guide</title><link>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/install-guide/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/install-guide/</guid><description>&lt;p&gt;This is the canonical end-to-end install procedure for GENIE.AI. &lt;strong&gt;Choose
the deployment model that matches your case before reading on&lt;/strong&gt; — each model
has a dedicated sibling guide with the platform-specific mechanics, while
this doc is the universal prerequisite + configuration + verification
backbone:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Model&lt;/th&gt;
 &lt;th&gt;When to use it&lt;/th&gt;
 &lt;th&gt;Companion guide&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Docker Compose&lt;/strong&gt; (&lt;code&gt;docker compose up&lt;/code&gt;)&lt;/td&gt;
 &lt;td&gt;Local dev, MVP, small single-host production, evaluation&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-compose-setup/"&gt;Docker Compose Setup&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Docker Swarm&lt;/strong&gt; (&lt;code&gt;docker stack deploy&lt;/code&gt;)&lt;/td&gt;
 &lt;td&gt;Production multi-node, HA, mixed CPU/GPU node placement&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-swarm-setup/"&gt;Docker Swarm Setup&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Ansible + Swarm&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Repeatable fleet deploys with per-environment secrets&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-swarm-setup/#remote-gpu-node"&gt;Ansible README&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Remote GPU&lt;/strong&gt; (&lt;code&gt;GPU_NODE_HOST=&lt;/code&gt;)&lt;/td&gt;
 &lt;td&gt;OPEA orchestrators on CPU node, vLLM/TEI on a separate GPU node&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-swarm-setup/#remote-gpu-node"&gt;Remote GPU Node&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;GPU profiles (T4 16 GB / RTX 6000 24 GB / A40 48 GB / H100) layer on top of
any of the above via the &lt;code&gt;env.t4&lt;/code&gt; / &lt;code&gt;env.rtx6000&lt;/code&gt; overrides — see
&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/gpu/"&gt;GPU Deployment&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Docker Compose Setup</title><link>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-compose-setup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-compose-setup/</guid><description>&lt;p&gt;This guide covers local single-node deployment with &lt;code&gt;docker compose up&lt;/code&gt;. For
production multi-node deployments see
&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-swarm-setup/"&gt;Docker Swarm Setup&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;GENIE.AI uses a single dual-mode &lt;code&gt;docker-compose.yaml&lt;/code&gt; at the project root
that works with both &lt;code&gt;docker compose up&lt;/code&gt; and &lt;code&gt;docker stack deploy&lt;/code&gt;. Compose is
the fastest path to a working stack for development, testing, and small
single-host production deployments.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Docker Engine 23+&lt;/strong&gt; with Compose v2 (&lt;code&gt;docker compose&lt;/code&gt; subcommand)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;NVIDIA Container Toolkit&lt;/strong&gt; (only if using &lt;code&gt;--profile opea&lt;/code&gt; with GPU)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hugging Face API token&lt;/strong&gt; (only if using &lt;code&gt;--profile opea&lt;/code&gt; — set
&lt;code&gt;HUGGING_FACE_HUB_TOKEN&lt;/code&gt; in &lt;code&gt;.env&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For full system context, see
&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/architecture/architecture/"&gt;Architecture Overview&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Docker Swarm Setup</title><link>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-swarm-setup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-swarm-setup/</guid><description>&lt;p&gt;This guide covers Docker Swarm deployments — single-node and multi-node. For
single-host development with &lt;code&gt;docker compose up&lt;/code&gt;, see
&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-compose-setup/"&gt;Docker Compose Setup&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;GENIE.AI uses a single Swarm-compatible &lt;code&gt;docker-compose.yaml&lt;/code&gt; at the project
root. All services deploy via &lt;code&gt;docker stack deploy&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Docker Engine 23+&lt;/strong&gt; with Compose v2 on every node&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Same Docker version&lt;/strong&gt; on all nodes (recommended)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;NVIDIA Container Toolkit&lt;/strong&gt; on GPU nodes — GENIE.AI exposes the GPU to
containers via the &lt;code&gt;NVIDIA_VISIBLE_DEVICES&lt;/code&gt; env var (default &lt;code&gt;all&lt;/code&gt;), which
requires &lt;code&gt;nvidia-container-runtime&lt;/code&gt; registered as a Docker default runtime
(or any runtime that supports &lt;code&gt;NVIDIA_VISIBLE_DEVICES&lt;/code&gt;). Install on each
GPU node: see &lt;a href="https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html"&gt;https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SSH access&lt;/strong&gt; to every node — from the manager you need passwordless SSH
to every worker (or &lt;code&gt;docker -H ssh://worker ...&lt;/code&gt;) for cross-node debugging&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Network connectivity&lt;/strong&gt; between all nodes — Swarm requires
TCP &lt;strong&gt;2377&lt;/strong&gt; (cluster management), TCP+UDP &lt;strong&gt;7946&lt;/strong&gt; (node-to-node
gossip), UDP &lt;strong&gt;4789&lt;/strong&gt; (overlay network VXLAN). Open these between every
pair of nodes in the cluster.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Registry credentials&lt;/strong&gt; — every node must authenticate to the GitLab
Container Registry (&lt;code&gt;docker login registry.opensource.unicc.org/un/itu/genie-ai&lt;/code&gt;)
before &lt;code&gt;docker stack deploy&lt;/code&gt; can pull images&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For full system context, see
&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/architecture/architecture/"&gt;Architecture Overview&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>GPU Deployment</title><link>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/gpu/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/gpu/</guid><description>&lt;p&gt;This guide covers how to deploy GENIE.AI&amp;rsquo;s AI layer on NVIDIA GPUs: choosing
the right profile (T4 / RTX 6000 / A40), understanding the variables in
&lt;code&gt;env.t4&lt;/code&gt; and &lt;code&gt;env.rtx6000&lt;/code&gt;, sizing VRAM, and verifying the stack after
deployment.&lt;/p&gt;
&lt;p&gt;For full end-to-end installation see
&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/install-guide/"&gt;Install Guide&lt;/a&gt; (single-node) or
&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-swarm-setup/"&gt;Docker Swarm Setup&lt;/a&gt; (multi-node). This
page is the GPU-specific layer on top of those.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;NVIDIA Driver&lt;/strong&gt; installed on the GPU node. See
&lt;a href="https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#driver"&gt;NVIDIA Driver Installation Quickstart&lt;/a&gt;
for the current matrix.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;NVIDIA Container Toolkit&lt;/strong&gt; installed and configured — see
&lt;a href="https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/overview.html"&gt;NVIDIA Container Toolkit overview&lt;/a&gt;.
Verify with: &lt;code&gt;docker run --rm --gpus all nvidia/cuda:12.0-base nvidia-smi&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Docker Engine 23+&lt;/strong&gt; with Compose v2.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Swarm initialized&lt;/strong&gt; if you plan to deploy via &lt;code&gt;docker stack deploy&lt;/code&gt;:
&lt;code&gt;docker swarm init&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GPU node labeled&lt;/strong&gt;:
&lt;code&gt;docker node update --label-add gpu=true $(hostname)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;.env&lt;/code&gt; file&lt;/strong&gt; created from the project &lt;code&gt;env&lt;/code&gt; template (&lt;code&gt;cp env .env&lt;/code&gt;) with
secrets set.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="loading-environment-files"&gt;Loading environment files&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;docker stack deploy&lt;/code&gt; does &lt;strong&gt;not&lt;/strong&gt; support &lt;code&gt;--env-file&lt;/code&gt;. The supported pattern
is to source the files in the shell, resolve &lt;code&gt;${VAR}&lt;/code&gt; references into a flat
YAML with &lt;code&gt;docker compose config&lt;/code&gt;, then deploy the resolved file:&lt;/p&gt;</description></item><item><title>NVIDIA A40 Install Guide</title><link>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/a40-install/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/a40-install/</guid><description>&lt;p&gt;This walkthrough installs the server-grade NVIDIA driver on Ubuntu 22.04 for
an NVIDIA A40 GPU and resolves the common DKMS build failures caused by
manually installed kernel headers. It is a pre-requisite for GENIE.AI on A40
hardware — once the driver is working, follow
&lt;a href="https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/docker-swarm-setup/#step-13-single-node-swarm"&gt;Docker Swarm Setup → Single-Node Swarm&lt;/a&gt;
to deploy GENIE.AI.&lt;/p&gt;
&lt;h2 id="goal"&gt;Goal&lt;/h2&gt;
&lt;p&gt;Install the NVIDIA proprietary driver on Ubuntu 22.04 for an A40 GPU and
bring up a single-node GENIE.AI Swarm stack on top of it, in ~30–60 minutes.&lt;/p&gt;</description></item><item><title>Deployment Topologies</title><link>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/topologies/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://genie-ai-7e342b.opensource.unicc.org/docs/deploy/topologies/</guid><description>&lt;p&gt;This page is the &lt;strong&gt;single source of truth&lt;/strong&gt; for which deployment topology
fits which use case. It maps every supported combination of Docker Compose
profiles, Swarm node labels, GPU presence, observability, and TLS to a
named topology with a command, a diagram, and a verification recipe.&lt;/p&gt;
&lt;p&gt;For the procedure to deploy a specific topology, follow the linked how-to
guide. This page answers &lt;strong&gt;&amp;ldquo;which topology should I pick?&amp;rdquo;&lt;/strong&gt; and &lt;strong&gt;&amp;ldquo;what
runs where?&amp;rdquo;&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>