Skip to content
Layer8 Systems

Install Stratum

One command on a machine with Docker, then create the owner account.

Stratum is one self-hosted install with four linked apps: Maps (network maps), Assets (asset inventory), Notes (runbooks and docs) and Credentials (encrypted credentials). It runs as a Docker container next to its own Postgres database. Your data stays on your server.

What you need

  • A Linux machine with Docker and the Compose plugin.
  • Port 3000 reachable from the people who will use it.

Install

  1. Download the compose file into an empty folder:
curl -fsSLO https://layer8systems.ca/install/docker-compose.yml
  1. Start it:
docker compose up -d

That is the whole install. No .env file is needed: the database password and the install's keys are generated on first start.

  1. Open http://<your-server>:3000 in a browser.

Create the owner account

The first account created becomes the owner, and sign-up closes after that: everyone else joins by invitation. So that whoever reaches a new install first cannot claim it, creating the owner asks for a one-time setup code. The server prints it when it starts:

docker compose logs app

Enter the code, then your name, email and password.

First five minutes

  1. Create your first map in Maps: drag devices onto the canvas and draw connections.
  2. Add your assets in Assets, one at a time or from a CSV (Settings → Import & Export).
  3. Write a runbook in Notes and link it to the device it documents.
  4. Store the credentials for that device in Credentials, linked to the same asset.

That last part is the point: when something breaks at 2am, the map shows you what it is, the asset record shows you where it is, the runbook tells you what to do, and the credential gets you in, without leaving the page you are on.

Finding your way around

  • The sidebar on the left switches between the dashboard and the four apps (Alt+0 for the dashboard, Alt+1 to Alt+4 for the apps).
  • ⌘K / Ctrl+K searches everything, everywhere.
  • The dashboard shows what needs a person: offline assets, expiring warranties, credentials about to expire. Each one is a click from the thing that needs fixing.

Editions

With no license the install is the Free edition: one user, within the limits on the pricing page. A Pro license removes them. The owner pastes the key under Settings → License. For a server with no internet access, get a license file from the offline license page.

Back up two volumes

Everything is in two Docker volumes: db-data (the database) and app-data (uploaded files and secrets.json). Back up both. secrets.json holds the keys that encrypt your notes and credentials; losing it makes encrypted data unreadable for good.

HTTPS

Plain http is fine on a trusted network, but passkeys need HTTPS. As the owner, open Settings → HTTPS and paste your certificate and its private key; Stratum then also serves HTTPS on port 3443. If you already run a reverse proxy (nginx, Caddy, Traefik), let it terminate TLS instead and set TRUST_PROXY=true in a .env file next to the compose file.

Your data is yours

Settings → Import & Export gives you a one-click export of everything you own as JSON, and a single import button that detects files from other tools (Bitwarden, LastPass, KeePass, Snipe-IT-style CSVs, and plain Markdown).