Self-host

Install

Start a new single-node Comma instance with Docker Compose.

Before you start

Install Docker Engine with Compose v2.24 or later, clone the Comma repository, and have your model provider details ready if you want an instance-wide model from the first boot.

First start

Copy the example configuration, set COMMA_OWNER_EMAIL (and optional model provider variables), then build and start the stack:

cp .env.example .env
docker compose up -d --build

The first start compiles the server and web clients from source and runs the configure service to generate persistent secrets once in the config volume, so it takes several minutes. Later starts reuse those secrets and regenerate runtime configuration from .env. Without a model provider in .env, you can add a private model in Settings after signing in.

Sign in

  1. Open http://localhost:8080 and enter your email address.
  2. Read the sign-in code in the local Mailpit inbox at http://localhost:8025 and complete sign-in.
  3. The owner account set in COMMA_OWNER_EMAIL can also open the Admin console at http://localhost:8082. The Product API runs on port 8081 and the Salix dashboard is at http://localhost:4000/dash.

By default, all ports bind to loopback only, and the local Mailpit inbox is for loopback evaluation only. For public access, place Comma behind an HTTPS reverse proxy on one registrable domain, disable proxy buffering for event streams, and configure a real SMTP server in .env. See Configuration.