Skip to content

Install & update ​

install compose puts Vibedata on this machine and update compose rolls it to the version this CLI was built for. Both are covered end to end by the walkthrough — Install on one machine — which this page does not repeat. What is here is the detail that outlives a first install: what the install generates, and how much memory it gives each container.

Command reference ​

vibedata install compose ​

Install local Docker Vibedata (the Vibedata version this CLI was built for).

bash
vibedata install compose [OPTIONS]
OptionDefaultWhat it does
--skip-pulloffSkip pulling images from the registry. Use when images are already present locally (e.g. built via docker build for testing without GHCR).
--with-observabilityoffInstall Vibedata with local LGTM/Grafana and Alloy observability. Requires Docker Desktop resources suitable for the observability profile.
--full-observabilityoffRemoved: Langfuse is no longer provisioned by Vibedata. Use --with-observability for LGTM/Grafana.
--no-observabilityoffRemove the observability services. Collected data stays under DATA_DIR.
--frontend-port INTEGER RANGE 1-65535—Host port for the Vibedata UI. Defaults to 5173 on a fresh install; an existing installation keeps its configured port unless this is supplied.
--studio-url TEXT—External browser URL operators use to reach Vibedata, e.g. http://10.0.0.20:5173. Set this when opening Vibedata from another machine on the LAN by host IP/hostname instead of localhost — it drives Vibedata and every companion app (Grafana/Obot) plus their OAuth logins from one address. Defaults to localhost.
--welcome-email-template-id TEXT—Turn on the welcome email sent when a user is admitted, using this published Resend template. Requires --welcome-email-from and --welcome-email-api-key. The template must define displayName, email and signInUrl.
--welcome-email-from TEXT—Sender for the welcome email, e.g. "Vibedata <welcome@example.com>".
--welcome-email-reply-to TEXT—Reply-to for the welcome email. Omit to reply to the sender.
--welcome-email-api-key TEXT—Resend API key for the welcome email. Prefer the environment variable VIBEDATA_WELCOME_EMAIL_API_KEY: a key passed as an argument is visible to every process on the host and is kept in your shell history.
--demo-artifact-repository TEXT—Optional Demo Pack source: the trusted public GitHub repository, in owner/repository form, whose backend-version-matched release carries Demo Pack bundles (e.g. accelerate-data/vibedata-official). Omit to use the backend default, Vibedata's own public release channel; pass this only to point at a different source.
--observability-setting KEY=VALUE, repeatable—Set one observability retention or query setting, as KEY=VALUE (repeatable). KEY= restores the default. Needs the observability stack. The value is kept across later runs until you change it.

vibedata update compose ​

Roll the local Docker Vibedata to the version this CLI was built for.

bash
vibedata update compose [OPTIONS]
OptionDefaultWhat it does
--skip-pulloffSkip pulling images from the registry. Use when images are already present locally (e.g. built via docker build for testing without GHCR).
--skip-backupoffSkip the pre-upgrade backup. Unsafe: a failed update then has no restore point, and migrations have no down-path.

Per-container memory caps ​

Every container carries a memory cap, so an operator can size the host for the chosen profile. If a container exceeds its cap the kernel stops it (exit code 137). Local Docker sets no restart policy, so the container stays stopped until you run vibedata compose up, and the symptom usually shows up as a page or request that never finishes. docker inspect --format '{{.State.OOMKilled}}' <container> tells you whether that happened.

Core services:

Profile (flag)ContainerMemory cap
allapi2 GB
allpostgres512 MB
allobot512 MB
allfrontend64 MB
allnfs512 MB
allnfs-mounter128 MB
allnfs-init (short-lived)128 MB

Optional observability containers:

Profile (flag)ContainerMemory cap
--with-observability (LGTM)otel-lgtm2 GB
--with-observability (LGTM)alloy512 MB
--with-observability (LGTM)nginx-exporter32 MB
--with-observability (LGTM)cadvisor256 MB

cadvisor (256 MB, shown above) runs with privileged: true so it can read every other container's cgroups — that means the observability profile mounts the host root and the Docker socket into a privileged container, and the metrics it scrapes stay on the internal network (no host port is published). It is opt-in via --with-observability and is not present in a core install.

The long-running core caps total about 3.7 GB, and each activated Intent adds an agent container beyond that. LGTM adds about 2.8 GB of capped headroom on top of core. Core installs have no memory admission gate — the observability profile does. The compose files that install compose renders into DATA_DIR hold the caps and are the source of truth.

Generated secret files ​

DATA_DIR/.env and DATA_DIR/state.json contain generated service, signing, encryption, and, when bundled companion apps are configured, OAuth-client values. On POSIX hosts, Vibedata writes both files as owner-readable only (0600) and preserves that restriction on rerender and update. Do not share these files with a group or commit or copy them into a shared location.

Docker's UID mapping can determine the owning account on the host. If a manual copy, restore, or filesystem migration broadens access, restore owner-only access before restarting or updating the stack:

sh
chmod 600 "$DATA_DIR/.env" "$DATA_DIR/state.json"

credentials.json is also owner-only, but stores CLI metadata only; login tokens remain in the operating-system keyring. The gh-config, azure-config and aws-config directories are credential caches managed by the GitHub, Azure and AWS CLIs respectively, so keep the entire DATA_DIR private.