Skip to Content
DocumentationReferenceArchitecture

Architecture

Overview

Companion Home is built as a modern, modular self-hosting platform with several interconnected components.

Companion Home Architecture

Core Components

Hub (Local Server)

The Hub is the main application running on your server:

Portal

The cloud management platform at portal.ci.computer  that provides:

  • Remote Hub management
  • Device pairing
  • Managed Cloudflare Gateway provisioning
  • Remote App Store access

Cloudflare Gateway

A managed Cloudflare Tunnel  that securely exposes your apps without port forwarding. Provisioned and managed through Companion Portal.

Docker Layer

All apps run as Docker Compose projects. Each app is isolated in its own compose stack but shares a common Docker network for inter-app communication.

Docker Services

The Hub runs several containers defined in the production compose file:

ServiceContainerPurpose
ci-hub-dbPostgreSQL 14Database (port 6543)
ci-os-hub-queueRabbitMQ 4Message broker
ci-os-hubHub backend + frontendMain application
traefikTraefik v3Reverse proxy, SSL, routing
cloudflaredCloudflare tunnel agentManaged gateway (optional)

Technologies

Last updated on