Skip to content

Quick start

octarq is a single binary. You need a .env with two secrets, then either build from source or run the Docker image.

Terminal window
cp .env.example .env # then set OCTARQ_SECRET_KEY + OCTARQ_ADMIN_PASSWORD

OCTARQ_SECRET_KEY signs sessions; OCTARQ_ADMIN_PASSWORD is the first admin login. See Configuration for the full list.

Terminal window
make release # builds the web dashboard + the Go binary
./octarq # serves dashboard + API + redirects on :8080
Terminal window
docker compose up --build # reads .env, persists data in a volume

For a tiny (~19 MB) scratch image with no Node stage — when the web assets are already built — use the binary-only Dockerfile:

Terminal window
docker build -f deploy/Dockerfile.binary -t octarq:latest .

Open http://localhost:8080 (it redirects to /admin) and sign in with OCTARQ_ADMIN_USER / OCTARQ_ADMIN_PASSWORD.