lattice-server

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: MIT

README

lattice-server

The Lattice control plane server.

Responsibilities:

  • Admin login, sessions, CSRF checks, and secure cookie defaults.
  • Scope and server allowlist authorization.
  • Node enrollment and outbound-agent APIs.
  • Fleet metrics ingestion.
  • Batch task scheduling and result collection.
  • KV/static/Worker control APIs.
  • nftables plan and approval workflow.
  • Append-only audit events.

Run Locally

LATTICE_ADMIN_PASSWORD='change-this-passphrase' \
LATTICE_WEB_ROOT=../lattice-dashboard \
go run ./cmd/lattice-server

Open http://127.0.0.1:8088.

Build

From the organization workspace:

cd ../lattice
make build

Standalone builds require github.com/LatticeNet/lattice-sdk to be available at the version in go.mod; during local multi-repo development, use the lattice/go.work workspace.

Security Defaults

  • First-run password is random unless LATTICE_ADMIN_PASSWORD is set.
  • Management APIs are intended for localhost, WireGuard, or a hardened reverse proxy.
  • nft operations are generated as approvals before agent-side validation.

Directories

Path Synopsis
cmd
lattice-server command
internal
id

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL