Skip to main content
Central ships as a Docker image, ghcr.io/thesteau/3to1go-central, and needs PostgreSQL. The example deployment in the repository runs both.

Requirements

  • Docker with Compose
  • Enough disk for your snapshots (Central keeps full archives; see retention)
  • A port Edges can reach, 6555 by default

Set up

1

Get the example files

Or copy deploy-example/central/ from GitHub.
2

Edit .env

.env
Set a real POSTGRES_PASSWORD. Point BACKUP_DIR at wherever snapshots should live; see Storage.
3

Start it

Central waits for PostgreSQL to be healthy before starting.
4

Sign in

Open http://<central-host>:6555/ and sign in as admin. See Sign-in and accounts.
5

Connect your first Edge

Click Mint Edge Credential and paste the result into Edge. See Edge credentials.

What gets created

The example Compose file keeps everything next to it:
Preserve config/ (it holds issuer.key) and a consistent backup of PostgreSQL, as well as the snapshot folder. Stop PostgreSQL before copying its data directory, or use PostgreSQL’s backup tools. Losing the database loses snapshot metadata, users, and credential records; losing issuer.key invalidates every Edge credential.

Update

Build from source

To build the image yourself, use the Compose file in central/ instead. It builds from the repository root so the shared code is included.