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:
docker run -d --name archipelego -p 1234:1234 -v archipelego-data:/data ghcr.io/yannickhuchard/archipelego:latestThen open http://localhost:1234, or the machine's address on your network.
The command does three things:
-p 1234:1234publishes the server port.-v archipelego-data:/datakeeps the canvases in a named volume, so they survive a restart or an upgrade.--name archipelegogives the container a name you can use later.
To pass settings, add -e options. For example:
docker run -d --name archipelego -p 1234:1234 -v archipelego-data:/data \
-e ANTHROPIC_API_KEY=sk-ant-... \
ghcr.io/yannickhuchard/archipelego:latestSee Configuration for every variable.
What the image contains
- The server runs as the image's non-root
nodeuser. /datais a volume. The server writes canvases and stored keys there.- The image sets
PORT=1234andARCHIPELEGO_DATA=/data. - A
HEALTHCHECKcalls/healthevery 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:
docker compose up -dThis pulls ghcr.io/yannickhuchard/archipelego and starts it. To build the image from your checkout instead, run:
docker compose up -d --buildCompose reads an optional .env file next to compose.yaml. It needs Docker Compose 2.24 or newer. Put your settings in it:
ARCHIPELEGO_SECRET=...
ANTHROPIC_API_KEY=...
ARCHIPELEGO_PORT=8080
ARCHIPELEGO_TAG=latestARCHIPELEGO_PORTchanges the published port. The default is1234.ARCHIPELEGO_TAGchanges the image tag. The default islatest.
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:
curl -fsSL https://raw.githubusercontent.com/yannickhuchard/archipelego/main/scripts/install.sh | shOn Windows, in PowerShell:
irm https://raw.githubusercontent.com/yannickhuchard/archipelego/main/scripts/install.ps1 | iexINSTALL.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.
git clone https://github.com/yannickhuchard/archipelego.git
cd archipelego
npm install
npm run build
npm startnpm run buildcompiles the design tokens, the app and the server.npm startrunsnode dist/index.jsinserver/. It serves the built app and the server together on port1234.- From source, canvases go to
server/dataunless you setARCHIPELEGO_DATA.
To build the docs site too, run node scripts/build-docs-site.mjs after npm run build.
First run
- Open
http://localhost:1234. - The app creates a new canvas and puts its id in the address bar, as
/canvas/<canvas id>. - Share that link. Anyone who opens it joins the same canvas.
- 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.