selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Compartment logo

Self-host Compartment

v0.12.0

Kubernetes deployment platform for internal tools

BetaOpen SourceApache-2.0
Updated2 months ago
LanguageTypescript
Setup difficultyAdvanced
ThemeDark mode
Stars
206
CPU
2 vCPU
RAM
8 GiB
Storage
50 GiB
Ports
9443 (API server), 9081 (Edge ingress for hosted applications), 9080 (Public HTTP ingress), 9444 (Public HTTPS ingress), 9461 (Artifact registry)
Requires
Cert-manager, gVisor, Helm, Ingress Controller, Kubectl, Kubernetes, NetworkPolicy enforcement, Persistent Storage Class
Docker
docker.io/compartmentdev/compartment-worker
Install with Kubernetes

What is Compartment?

This platform runs on Kubernetes and gives teams a way to deploy their own internal tools, private applications, and public services without creating a custom platform. You can install it into an existing cluster or let it provision a single-node k3s virtual machine. After installation, a command-line interface and a web-based control plane let you deploy applications from Git repositories or local code checkouts. Each deployed application receives a stable URL with HTTPS and built-in access control. The system includes single sign-on via OIDC, role-based access control, audit logging, and resource quotas. Applications are built using Dockerfile or Railpack into container images and run in isolated namespaces with gVisor sandboxing. It targets small-scale software such as scripts, internal utilities, AI-generated applications, dashboards, and data workflows that need a reliable place to run on infrastructure the team owns.

Should you self-host Compartment?

Compartment scores 47/100 on selfhost.directory (how scoring works) and ranks #10 of 20 in Application Management. It has 206 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v0.12.0, came out on 18 August 2026.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is hot-updater (62/100, 1 797 stars). It scores higher overall, so compare the two before you pick. See Compartment vs hot-updater side by side.

Features

  • Audit Logging
  • Browser control plane
  • CLI-first workflow
  • Custom domains for apps
  • Deployment history and rollback
  • Git-based deployments
  • Managed VM installation
  • OIDC Single Sign-On
  • Resource quotas
  • Role-based Access Control
  • Runtime variables and secrets

Compartment README

How to install Compartment

Install Compartment with Kubernetes

curl -fsSL https://compartment.dev/install.sh | sh compartment install --target kubernetes --kube-context production

Installs into an existing Kubernetes 1.35+ cluster

Compartment releases & version history

More in Deployment

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…