English

Admin guide Setup

Installation

Install Archipelego with Docker, with a one-line installer, or from source.

On this page

You have three ways to install Archipelego. Each one gives you the same server on port 1234. The full procedure, with every option, is in INSTALL.md.

Before you start

  • Pick a machine that everyone in the workshop can reach: the wall display, the laptops, the tablets and the phones.
  • Open port 1234, or put the server behind a reverse proxy. See Security.
  • Decide where AI keys come from. You can add them later. See AI providers and keys.

Docker

Docker is the shortest path. Run one command:

bash
docker run -d --name archipelego -p 1234:1234 -v archipelego-data:/data ghcr.io/yannickhuchard/archipelego:latest

Then open http://localhost:1234, or the machine's address on your network.

The command does three things:

  • -p 1234:1234 publishes the server port.
  • -v archipelego-data:/data keeps the canvases in a named volume, so they survive a restart or an upgrade.
  • --name archipelego gives the container a name you can use later.

To pass settings, add -e options. For example:

bash
docker run -d --name archipelego -p 1234:1234 -v archipelego-data:/data \
  -e ANTHROPIC_API_KEY=sk-ant-... \
  ghcr.io/yannickhuchard/archipelego:latest

See Configuration for every variable.

What the image contains

  • The server runs as the image's non-root node user.
  • /data is a volume. The server writes canvases and stored keys there.
  • The image sets PORT=1234 and ARCHIPELEGO_DATA=/data.
  • A HEALTHCHECK calls /health every 30 seconds. See Monitoring.
  • The image includes the built docs site when the build context contains docs-site/.

Docker Compose

The repository has a compose.yaml that wraps the same image. From a checkout of the repository, run:

bash
docker compose up -d

This pulls ghcr.io/yannickhuchard/archipelego and starts it. To build the image from your checkout instead, run:

bash
docker compose up -d --build

Compose reads an optional .env file next to compose.yaml. It needs Docker Compose 2.24 or newer. Put your settings in it:

text
ARCHIPELEGO_SECRET=...
ANTHROPIC_API_KEY=...
ARCHIPELEGO_PORT=8080
ARCHIPELEGO_TAG=latest
  • ARCHIPELEGO_PORT changes the published port. The default is 1234.
  • ARCHIPELEGO_TAG changes the image tag. The default is latest.

The data lives in a volume named archipelego-data, the same name as in the docker run command.

One-line installers

Use these when you do not want Docker.

On macOS and Linux:

bash
curl -fsSL https://raw.githubusercontent.com/yannickhuchard/archipelego/main/scripts/install.sh | sh

On Windows, in PowerShell:

powershell
irm https://raw.githubusercontent.com/yannickhuchard/archipelego/main/scripts/install.ps1 | iex

INSTALL.md explains what the installers do, where they put files and how to start the server afterwards.

From source

You need Node 24, the version the Docker image uses, and npm.

bash
git clone https://github.com/yannickhuchard/archipelego.git
cd archipelego
npm install
npm run build
npm start
  • npm run build compiles the design tokens, the app and the server.
  • npm start runs node dist/index.js in server/. It serves the built app and the server together on port 1234.
  • From source, canvases go to server/data unless you set ARCHIPELEGO_DATA.

To build the docs site too, run node scripts/build-docs-site.mjs after npm run build.

First run

  1. Open http://localhost:1234.
  2. The app creates a new canvas and puts its id in the address bar, as /canvas/<canvas id>.
  3. Share that link. Anyone who opens it joins the same canvas.
  4. Check the server with curl http://localhost:1234/health. It answers {"ok":true}.

Next, connect an AI provider so that Explain and the Architect can answer. See AI providers and keys.