---
title: "Write and share an add-on"
description: "Package a Vigiora add-on in a public git repository, check it, submit it for review and publish it in the Community."
url: https://vigiora.com/docs/developers/add-ons
updated: 2026-12-03T11:44:31.000Z
---

# Write and share an add-on

> Package a Vigiora add-on in a public git repository, check it, submit it for review and publish it in the Community.

An add-on is a program that runs next to your Vigiora server (today, as a Docker Compose project) and works with its cameras and events. You share it as a **public git repository**. Vigiora reads one commit of that repository, checks it, and a reviewer approves it before it appears in the [Community](https://vigiora.com/community/add-ons).

New here? [Your first add-on in 30 minutes](https://vigiora.com/docs/developers/add-on-quickstart) takes you from the kit to an add-on running on your own server.

To use an add-on, not write one, see [Community add-ons](https://vigiora.com/docs/ai/hal-services#community-add-ons).

## Start from the kit

Three public repositories help you start:

- [vigiora-addon-kit](https://github.com/data-tamer/vigiora-addon-kit) (version 0.2.0): a small Python package. It has a client that enrols with a server, reads the cameras and settings assigned to your add-on and posts results, a fake Vigiora server for tests, and the `vigiora-addon` command. `vigiora-addon validate .` runs the checks the Vigiora cloud runs when you submit. `vigiora-addon new my-addon` copies the template.
- [vigiora-addon-template](https://github.com/data-tamer/vigiora-addon-template): a complete small add-on to copy, with the manifest, compose file, Dockerfile, tests, how-to and icon.
- [vigiora-addon-hello-camera](https://github.com/data-tamer/vigiora-addon-hello-camera): the smallest working example. It posts one `hello` result per assigned camera every 30 seconds.

To try your add-on on a server before it is published, turn on [developer mode](https://vigiora.com/docs/ai/hal-services#developer-mode) and install it from its git address.

## Repository layout

```
vigiora-addon.yaml      the manifest (required)
README.md               what it does, for people deciding to use it (required)
docs/how-to.md          how to set it up and use it (required)
images/icon.png         PNG, square, 128 to 512 px, at most 200 KB (required)
images/*.png|jpg|jpeg|webp   screenshots: at most 6, each at most 500 KB, longest side at most 2000 px
compose.yaml            required when run.kind is compose
LICENSE                 required
```

Only these files are read. The repository must be on **github.com** or **gitlab.com**, public, reached over HTTPS. The address is exactly `https://github.com/<owner>/<repo>` or `https://gitlab.com/<owner>/<repo>`. GitLab projects inside subgroups are not supported yet.

File names under `images/` are compared in lower case: `Icon.PNG` is the icon, and `Shot.JPEG` and `shot.jpeg` are the same name (keep one). A README image written as `images/Shot.JPEG` matches `images/shot.jpeg`.

| Limit | Value |
| --- | --- |
| Manifest | 64 KB |
| README, how-to | 200 KB each |
| compose file, LICENSE | 200 KB each |

Markdown is shown with raw HTML switched off. Images in the README and how-to must come from your repository's `images/` folder; links must be `http`, `https` or `mailto`.

## The manifest

```yaml
manifest: 1
id: plate-reader
name: Plate Reader
summary: Reads licence plates at your gate.
version: 1.2.0
author:
  name: Ada Example
  url: https://example.com
licence: Apache-2.0
categories: [vision]

vigiora:
  min_version: 1.7.0
  addon_api: 1

hardware:
  arch: [amd64, arm64]
  cpu_min_cores: 4
  ram_min_gb: 8
  gpu:
    required: true
    vendor: [nvidia]
    min_vram_gb: 6

run:
  kind: compose
  compose: compose.yaml
  source: image
  images:
    - docker.io/ada/plate-reader@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
  privileged: false
  network: outbound

permissions:
  scopes: [cameras:read, streams:read, events:write]

price:
  model: free
  amount_usd: 0
```

### Fields

| Field | Rule |
| --- | --- |
| `manifest` | Required. `1`. |
| `id` | Required. `^[a-z][a-z0-9-]{2,39}$`. Unique, never changes. The first account to register an id owns it. |
| `name` | Required, 3 to 60 characters. |
| `summary` | Required, 10 to 120 characters, one line. |
| `version` | Required, semantic version. Must be higher than the last approved version. |
| `author.name`, `author.url` | Name required; the address is optional and must be `https`. |
| `licence` | Required. An SPDX identifier or `Proprietary`. |
| `homepage` | Optional, `https`. |
| `categories` | Required, 1 to 3 of `vision`, `audio`, `sensors`, `automation`, `analytics`, `integration`, `other`. |
| `languages` | Optional. Languages of the README and how-to. |
| `vigiora.min_version` | Required. The lowest Vigiora Server version it works with. |
| `vigiora.addon_api` | Required. Add-on API version; `1` today. |
| `hardware` | Required block; every field optional, and absent means no requirement. `arch`, `os`, `cpu_min_cores`, `ram_min_gb`, `disk_min_gb`, `gpu` (`required`, `vendor`, `min_vram_gb`), `devices`, `notes` (at most 300 characters). |
| `run.kind` | Required. `compose`. |
| `run.compose` | Path of the compose file in the repository. |
| `run.source` | Required. `image` (pulled, pinned) or `build` (built on the server from this commit). |
| `run.images` | Required for `image`: every image the compose file uses, each pinned with `@sha256:`. |
| `run.privileged` | Required. `true` is flagged to the reviewer. |
| `run.network` | Required. `none`, `outbound` or `host`. |
| `run.ports` | Inbound ports it listens on, if any. |
| `permissions.scopes` | Required, as few as it needs: `cameras:read`, `streams:read`, `events:write`, `alerts:write`, `recordings:read`, `faces:read`, `iot:read`, `iot:write`. The administrator sees them before turning the add-on on. `events:write` posts results, `alerts:write` lets a detection become an alert (see [Raising alerts](#raising-alerts)), and `streams:read` gets a picture of a camera (see [Getting pictures](#getting-pictures)). |
| `labels` | Optional. From Server 1.7.4, the label prefixes the add-on raises alerts under, such as `["tamper:"]`. See [Raising alerts](#raising-alerts). |
| `price.model` | Required. `free`, `per_camera_month`, `per_server_month` or `one_off`. |
| `price.amount_usd` | Required unless free, between 0.50 and 500. |

`events`, `settings` and `ui` are reserved for later phases. They are checked for shape now and not acted on yet. An unknown key anywhere is an error, so a typo cannot pass silently.

Paid add-ons are open. To sell one, accept the [add-on author terms](https://vigiora.com/community/author-terms) and complete Stripe's payout onboarding on the **Payouts** page of your account. For now, paid add-ons are for authors whose Stripe account is in the United States. Authors in every other country can publish free add-ons.

## Raising alerts

New in Server 1.7.4 (API 1.106.0). An add-on reports what it finds with `POST /api/hal/events` (scope `events:write`). A plain event is a **result**: it is kept with the camera and its label shows in the camera's label list, but it never raises an alert. To raise an alert, the add-on reports a **detection**. The camera's owner then switches the alert on for that label (camera, add-on card, **Alert on detections**), and the detection becomes an alert like the ones Vigiora's own detectors make: the Alerts page, the `alert.created` event and webhooks, camera speakers and the briefing.

### What the manifest needs

```yaml
permissions:
  scopes: [cameras:read, events:write, alerts:write]
labels: ["tamper:"]
```

- `alerts:write` must be among the scopes the add-on was installed with. Without it a detection is refused (`400`, the message names the scope) and the add-on's labels show as "results only" in the web app.
- `labels` lists the label prefixes the add-on reports under: a lower-case word ending with a colon, at most 50. Every detection label must start with one of them and have text after it, for example `tamper:lens covered`.
- A prefix belongs to the first installed add-on that declares it. Two add-ons cannot raise alerts under the same prefix, so pick one that names your add-on.
- These prefixes are reserved for Vigiora and never usable by an add-on, even if declared: `face:`, `plate:`, `qr:`, `guardian:`, `analytics:`, `virtual:`, `vigiora:`, `hal:`, `addon:`, `system:`, `camera:`, `alert:`, `ha:`, `iot:`, `room:`, `zone:`, `speech:`, `sound:`, `audio:` and `motion:`. A label with no prefix, such as `person` or `car`, is refused too: those belong to Vigiora's object detector.

### The request

```http
POST /api/hal/events
Authorization: Bearer hal_…
Content-Type: application/json

{
  "monitor_id": 12,
  "label": "tamper:lens covered",
  "payload": {"score": 0.93, "reason": "frame went dark in 0.4 s"},
  "detection": {
    "confidence": 0.93,
    "detected_at": "2026-11-24T08:15:02Z"
  }
}
```

The answer is `200` with `{"ok": true, "detection_id": 4711}`.

- `monitor_id` must be a camera the add-on is assigned to (`403` otherwise). `GET /api/hal/my-assignments` lists them.
- `detection` may be empty (`{}`). `confidence` (0 to 1) defaults to 1. `bbox` (normalised 0 to 1: `x`, `y`, `w`, `h`) and `track_id` are optional. A `detected_at` older than an hour or more than 5 minutes ahead is replaced by the time the server received the request.
- No picture: `snapshot_jpeg` and `crop_jpeg` are refused (`400`). The alert shows without a picture, and the camera's recording has the moment.
- At most 30 detections a minute and 300 an hour per add-on. Beyond that the answer is `429` with `Retry-After`. Report a condition once, when it starts, not on every frame.
- The body is at most 4 MB and the label 1 to 64 characters.

### What the alert shows

In API v1, `GET /api/v1/alerts` shows the alert with `source` set to `addon-<id>` and `addon` set to `{"id": "<id>", "name": "<name>"}`. The server sets `addon`; nobody can claim it in a request. A detection from an add-on does not start a Guardian AI analysis, so it does not spend the camera's AI allowance.

## Getting pictures

New in Server 1.7.4 (API 1.106.0). A community add-on runs in its own Docker network, and Vigiora's go2rtc listens on `127.0.0.1` only, so the `rtsp_url` from `GET /api/hal/stream-config` cannot be reached from the add-on's container. Ask the server for frames instead. The manifest's `permissions.scopes` must include `streams:read` (and `cameras:read` to list the cameras).

```http
GET /api/hal/frame?monitor_id=12&width=640
Authorization: Bearer hal_…
```

The answer is `200` with `image/jpeg`: one frame taken now from the camera's sub stream, or its main stream when it has no sub stream. The headers are `Cache-Control: no-store` and `X-Vigiora-Frame-At` (when the frame was taken, for example `2026-11-24T08:15:02Z`).

- `width` is from 160 to 1920 and defaults to 640. The frame is scaled down to it, never up. A frame is at most 2 MB.
- The camera must be one the add-on is assigned to.

| Status | When |
| --- | --- |
| `400` | `monitor_id` is missing or not a number, or `width` is out of range |
| `403` | the add-on is not assigned to the camera, or lacks `streams:read` |
| `404` | the camera the token was enrolled for no longer exists |
| `429` | more than 2 frames a second for one camera (bursts of 5), or 4 frames already in flight for the add-on; wait `Retry-After` seconds |
| `503` | no frame within about 5 seconds (the camera is offline or disabled); `Retry-After` is 10 |

Errors are JSON: `{"error": "..."}`.

Each call asks go2rtc for one frame. When nothing else is reading the camera (it does not record and nobody is watching it), go2rtc connects to the camera for that frame and disconnects after it, which takes a second or two. Ask at the pace your analysis needs, often one frame every few seconds, not as fast as the limit allows.

The video itself (RTSP) is reachable only by an add-on with host networking (`run.network: host`), which is elevated access: the administrator confirms it with their password at install.

## Driving a Vigiora Robot

New in Server 1.17.0 (API 1.135.0, feature `addon_robot_control`). An add-on can take full control of a [Vigiora Robot 01](https://vigiora.com/docs/robots/vigiora-robot-01): drive it, switch its camera and headlight, read its Wi-Fi movement sensor, scan the room, and run Bluetooth jobs and AI patrols.

What it needs:

- `robot:control` in the manifest's `permissions.scopes` (it includes reading). Add `cameras:read` to list your cameras and `streams:read` for pictures, which come from `GET /api/hal/frame` as above.
- The person's consent. At install, the Add-ons page shows "This add-on can drive your robot and use its camera, light, sensors and Bluetooth" with an unticked box, and install waits for it. Later, the add-on's page has a **Robot access** switch. A developer-mode install starts with robot access off.
- The robot camera assigned to the add-on, and the add-on running.

The add-on calls the API v1 robot routes with its own token, with the same paths and bodies as people and API keys:

```http
POST /api/v1/cameras/12/ptz/actions/move
Authorization: Bearer hal_…
Content-Type: application/json

{"pan": 0, "tilt": 0.6, "hold": true}
```

`GET /api/v1/cameras/{camera_id}/robot` answers the robot's state in one read (`online`, `moving`, `battery_pct`, `light`, `wifi_motion`, `patrol_running`, `driven_by` and more). Every other API v1 route answers `403 not_allowed` to an add-on token.

| Status | Code | When |
| --- | --- | --- |
| `403` | `not_allowed` | `details.reason`: `scope_missing`, `addon_disabled`, `robot_access_off`, `not_assigned`, `not_a_robot` or `not_robot_route` |
| `409` | `robot_busy` | a Bluetooth job or an AI patrol runs, or someone else pressed Stop in the last 3 seconds: Stop wins |
| `423` | `robot_offline` | the server has not heard from the robot lately |
| `429` | `rate_limited` | more than 5 moves a second, or more than 1 Bluetooth job a minute; wait `details.retry_after` seconds |

Stops are never limited or refused. While the add-on drives, the robot's live view shows **Driven by** and the add-on's name. Every command and refusal is logged on the add-on's page (the last 100) and in `GET /api/v1/addons/{addon_id}/robot-log`. Disabling, removing or suspending the add-on, or switching its robot access off, stops a robot it was driving.

## What the check rejects

The same rules run when you check a repository on the submit page. You get every problem at once, each with the field path and a plain sentence.

- A required file is missing, or a file is over its limit.
- The manifest does not parse, misses a field, or has a value outside its allowed set.
- A compose file that breaks the rules below: with `source: image`, an image that is not listed or not pinned by digest; with `source: build`, no `build:`, a service with both `build:` and `image:`, an unpinned image, or a Dockerfile outside the allowed subset (for example a base image that is not pinned by digest).
- An image in the README or how-to does not exist in `images/`.

### Where add-ons run

For now a community add-on installs only on a **Linux server with native Docker** (the rootful Docker Engine). Docker Desktop, macOS, Windows, rootless Docker and a machine whose Docker cannot be read are refused with a plain sentence before anything is installed. Built-in Vigiora add-ons are not affected. A GPU add-on also needs the NVIDIA Container Toolkit 1.17.8 or later.

### Compose file rules

The compose file is what really runs, so it is checked against the manifest. The rules are an **allow-list**: a key, a value form or a mount source that is not named here is refused. Vigiora Server, the Community review and the Add-on Kit apply the same rules and give the same answer for the same file. They are tested against one shared set of 430 cases. For a `build` add-on the Dockerfiles are checked too (see below).

**The whole file**

- It is YAML with a `services:` section of at least one service. Besides `services`, only `volumes`, `networks` and keys starting with `x-` (extension fields; anchors and `<<:` merges are fine) are allowed. `include`, `configs`, `secrets`, `models`, `name` and `version` are refused.
- **No variables.** Any `$` in the file is refused (write `$$` for a literal dollar sign). A variable such as `${X:-host}` could hide what runs, because it is resolved later on the machine.
- **Names.** Service, volume and network names are lower case: a letter, then letters, digits and `-`, at most 31 characters. No `_` or `.`.
- `volumes:` entries are empty or only have `labels` (every label key starts with `vigiora.addon.`); no `driver`, `driver_opts`, `external` or `name`. `networks:` entries are empty or only have `internal`; no `driver`, `ipam`, `external` and so on. The server creates both for your add-on alone.

**Keys a service may use**

`image`, `build`, `command`, `entrypoint`, `environment`, `restart`, `depends_on`, `healthcheck`, `volumes`, `tmpfs`, `ports`, `expose`, `networks`, `network_mode`, `user`, `working_dir`, `labels`, `stop_grace_period`, `stop_signal`, `init`, `read_only`, `mem_limit`, `mem_reservation`, `cpus`, `pids_limit`, `shm_size`, `ulimits`, `logging`, `platform`, `hostname` and `deploy`, with these limits:

- `labels` must all start with `vigiora.addon.`. Other labels belong to the server, Docker and Compose.
- `environment` entries need a value: a bare `NAME` would copy the machine's own variable into the container. Names starting with `DOCKER_`, `COMPOSE_`, `BUILDKIT_`, `VIGIORA_` or `HAL_`, and `RTSP_HOST`, are set by the server or read by Docker and are refused. `NVIDIA_` names are refused unless the manifest declares `hardware.gpu`.
- `stop_grace_period` is a duration above 0 and at most `30s` (`10s`, `1m` is too long; a bare number is refused). `stop_signal` is `SIGTERM`, `SIGINT`, `SIGQUIT` or `SIGKILL`.
- `healthcheck` takes `test`, `interval`, `timeout`, `retries`, `start_period`, `start_interval` and `disable`. The durations are at least `5s`; `retries` is from 1 to 10.
- `tmpfs` entries are absolute paths with only the options `size=` (at most `256m`), `mode=` (octal, at most `1777`), `noexec`, `nosuid`, `nodev`, `ro` and `rw`. In the long mount form, write the mode in YAML octal (`0o1777`): a plain `1777` is the decimal number and is refused.
- `pids_limit` (and `deploy.resources.limits.pids`) is a whole number of at least 1; `-1` is refused. `ulimits` takes only `nofile`, from 1 to 65536.
- **One key per limit**: do not set both `mem_limit` and `deploy.resources.limits.memory`, both `pids_limit` and `limits.pids`, or both `cpus` and `limits.cpus`.
- `logging.driver` is `json-file` or `local`; other drivers send the logs off the machine. The server sets its own logging anyway.
- `deploy` takes only `resources`: `limits` (`cpus`, `memory`, `pids`) and, for a GPU add-on, a device reservation.
- `network_mode` is absent, `none`, or exactly `host` (only with `run.network: host`). `bridge`, `service:…` and `container:…` are refused: the server sets the network from `run.network`.
- `networks` lists networks you declared at the top level (or `default`), with at most `aliases` on each. Leave it out when `run.network` is `none` or `host`.
- `ports` publish only host ports listed in `run.ports`, and every port needs a host port (`"8090:80"`, not `"80"`). The host address is left out, `0.0.0.0` or `127.0.0.1`; IPv6 and other addresses are refused, and so is `mode: host`. Without `run.privileged`, a host port is at least 1024 and is not one of Vigiora Server's own (`1984`, `5432`, `8080`, `8444`, `8554`, `8555`, `18443`, `20241`, `41641`); a server also refuses the ports it actually listens on. Nothing is published when `run.network` is `none`.

**Only with a manifest that declares it**

- With `hardware.gpu`: `gpus: all` (or a list of devices), `runtime: nvidia`, `NVIDIA_` variables, and a `deploy.resources.reservations.devices` entry with `capabilities: [gpu]` and driver `nvidia`. Installing a GPU add-on asks the administrator for their password again.
- With `run.privileged: true`: `privileged`, `cap_add`, `devices`, `security_opt`, `device_cgroup_rules`, `volumes_from` (services of the same file only), ports below 1024 and absolute host paths as bind mounts. All of these are shown to the reviewer, and installing the add-on asks the administrator for their password again. Host networking (`run.network: host`) asks for it too.

**Never, for anyone**

- `env_file`, `extends`, `label_file`, `provider`, `post_start`, `pre_stop` and `develop`.
- `pid`, `ipc`, `userns_mode`, `cgroup`, `uts` and `cgroup_parent`.
- Any other key not listed above, for example `sysctls`, `extra_hosts`, `dns`, `container_name`, `secrets`, `configs`, `group_add` and `links`.
- Mounting the Docker socket, `/`, `/var/run`, `/run`, `/var/lib/docker`, `/proc`, `/sys`, `/etc`, `/dev`, `/home`, `/root`, `/Users`, the data of Vigiora Server itself, or any parent of those. Capitals do not matter, and `.` and `..` are resolved first.

**Images and builds**

- With `run.source: image`, every service has an `image:` pinned by digest (`name@sha256:<64 hex>`, no variable) and listed in `run.images`, and none has `build:`.
- With `run.source: build`, at least one service has `build:`. A service with `build:` may **not** also set `image:`: the server names the image it builds. A service without `build:` needs an image pinned by digest.
- `build` is a path or a mapping with only `context`, `dockerfile`, `args` and `target`. The context and the Dockerfile are paths inside the repository: not absolute, not `~`, not a Windows path, not a remote address, and not `..` out of the repository. A link (symlink or hard link) in the repository is never copied to the machine.
- `build.args` entries need a value and may not start with `BUILDKIT_`.

**Dockerfiles: a strict subset**

The Dockerfile of each build service (at most 8, each at most 256 KB, read from the repository) is checked when you preview and when you submit. The rules do not try to follow BuildKit's parser; anything outside a small subset is refused, so every checker reads an accepted file the same way as BuildKit does.

- **Printable ASCII only**: the bytes space to `~`, tab, LF, and CR only right before LF. Any other byte (an accented letter, a no-break or other special space, a byte order mark, a form feed, NUL, any control character, a lone CR) is refused with one problem that names the line and the byte, and nothing else is checked until it is gone. Words are split on space and tab only. **No parser directives** (`# syntax=`, `# escape=`, `# check=`) before the first instruction, in any case or spacing. The two characters `<<` appear nowhere in the file (not in quotes, not in comments): no here-documents; put such text in a file and `COPY` it.
- A line continues only when **exactly one** backslash is its last character (a CR before the LF is ignored). A line ending in two or more backslashes is refused (the problem gives the count), and so is a backslash followed by spaces or tabs, because BuildKit continues the line there. Trailing spaces or tabs after an ordinary line are fine. An empty line, a blank line or a comment inside a continued instruction is refused (BuildKit only warns about them and reads them its own way), and so is a file whose last line continues.
- Allowed instructions: `FROM`, `RUN`, `COPY`, `ADD`, `ENV`, `ARG`, `WORKDIR`, `USER`, `EXPOSE`, `CMD`, `ENTRYPOINT`, `LABEL`, `HEALTHCHECK`, `STOPSIGNAL`, `SHELL`. `ONBUILD`, `VOLUME`, `MAINTAINER` and anything else are refused. Only `ARG` may come before the first `FROM`.
- **Flags**: `RUN` takes none (no `--mount`, `--network`, `--security`). `COPY` takes `--from=` (an earlier stage of the same file, by name or number, never an image or a variable), `--chown=`, `--chmod=` and `--link`. `ADD` takes `--chown=`, `--chmod=` and `--link`. `FROM` takes `--platform=` with a literal value or `$BUILDPLATFORM` / `$TARGETPLATFORM`. `HEALTHCHECK` takes `--interval=`, `--timeout=`, `--start-period=`, `--start-interval=` and `--retries=`. A flag may not be quoted or repeated, and its value is checked: `--chown` is a user or `user:group` of letters, digits, `_`, `.` and `-`; `--chmod` is 3 or 4 octal digits; `--from` is a lower-case stage name or number; the `HEALTHCHECK` durations are written with their unit (`30s`, `1m30s`) and are at least `5s` (`--start-interval` at least `1s`); `--retries` is a whole number from 1 to 10.
- **`COPY` and `ADD` sources** (also in the `["src", "dest"]` form) are files of the build context: relative, with no `..`, and never containing `$`, `@`, `://`, `:` or a backslash, never starting with `//` and never ending in `.git` or containing `.git#` (BuildKit would read those as downloads or Git repositories). The source of `COPY --from` is a path in that stage and may be absolute. There is at least one source and a destination.
- `FROM` names an image written out and pinned by digest (`name@sha256:<64 hex>`), `scratch`, or an earlier stage. **No variable in `FROM`.** Stage names are lower case.
- `ARG` names starting with `BUILDKIT_` are refused.
- **`ENV` and `LABEL` are `name=value` pairs only**, split into words the way a Dockerfile does (spaces and tabs outside `"..."` and `'...'`; a backslash takes the next character): every word starts with a name of letters, digits, `_`, `.` and `-` and an `=`. The old form `ENV name value`, a bare word and an unclosed quote are refused. `ARG` takes names or `name=value`.
- **No `ONBUILD` in a base image.** An image's config can carry `ONBUILD` instructions, which BuildKit runs at the start of any build `FROM` it, with the full Dockerfile language and outside this subset. The review reads every external base image from its registry (Docker Hub, `ghcr.io`, `quay.io`, `gcr.io`, `registry.gitlab.com`, `public.ecr.aws` and `mcr.microsoft.com`) by its pinned digest, for every platform the image lists, and the server checks the image it pulls before it builds. An image with `ONBUILD`, or one the review cannot read (another registry, a private image, a registry that is down), is refused with the image named. Check yours with `docker image inspect -f '{{json .Config.OnBuild}}' <image>`: it must print `null` or `[]`.

The subset decides how the file is read, not what its `RUN` commands do. `pip install`, `npm install` or `curl … | sh` fetch code at build time that the file does not pin; the reviewer reads the whole Dockerfile and judges that, so pin versions and hashes where you can. Problems are shown with the Dockerfile's path and the line number.

**Mounts**

- Without `run.privileged: true` you may mount only `tmpfs` and **named volumes you declared** under the top-level `volumes:`. **No bind mounts at all**: not `./data`, not any other path of the repository, not an absolute path, not read-only. An anonymous volume is refused too. Files your add-on writes go in a named volume (Docker creates and keeps it; the server never reads it); code and data you ship go in the image.
- With `run.privileged: true` an absolute path (`/srv/plates:/plates`) may be bound, never one of the paths listed above. Paths of the repository, `~` paths and every Windows form are refused for everyone.
- Short syntax is `source:target[:mode]`, where the mode is a comma list drawn from `ro`, `rw`, `z`, `Z` and `nocopy`, each at most once and never `ro` with `rw`. Long syntax has `type` (`volume` or `tmpfs`, and `bind` for a privileged add-on), `source`, `target`, `read_only` (true or false), `volume` (only `nocopy`), `tmpfs` (only `size` and `mode`) and, for a privileged bind, `bind.create_host_path`.

**Disk and time**

Before it copies, downloads or builds anything, the server reads Docker's data folder on the target machine and the recordings folder, and refuses the install when either disk has less than the larger of 5 GB and 5% of the disk free. A build is limited to **20 minutes** (Docker compose cannot limit a build's memory or CPU, so time is the bound). While the disk that holds the recordings has less than 2 GB free, community add-ons are stopped and shown as "stopped (low disk)" with the reason; the server starts them again when 4 GB are free, and keeps their access in the meantime. Built-in Vigiora add-ons are never stopped.

**What the server adds**

You do not write these; the server adds them to its own copy of your file: a container name in your add-on's namespace, `no-new-privileges`, `cap_drop: [ALL]` for an add-on that is not privileged, the server address, the enrolment key file mounted read-only at `/run/secrets/enroll_key`, labels, the network chosen by `run.network`, the image name of a service it builds, a log limit, a process limit (512 unless you set one, at most 4096), a CPU limit (half the machine's cores, at most 2, or your value capped at the machine's cores), a shared-memory cap, a memory limit, and a 30 s stop grace period when you set none. The server never runs your copy of the file and runs compose with an empty environment file. It does not create, read or keep any folder your container writes; named volumes survive updates.

The reviewer sees what the compose file does, not only what the manifest says: privileged containers, host networking, paths on the machine, `cap_add`, `devices` and graphics card access are shown on the review page, together with the Dockerfiles, and any disagreement between the compose file and the manifest is shown at the top.

## Ids

An id belongs to the account that first registered it. Some ids are reserved for Vigiora and only Vigiora staff can register them: `objects`, `plates`, `faces`, `vision`, `hal-objects`, `hal-license-plate`, `hal-face`, `hal-vision`, `core-ai`, `guardian`, `vigiora`, and anything starting with `vigiora-`, `hal-` or `official-`.

If a registration was abandoned (it only has rejected or withdrawn versions, and the last of them is more than 30 days old), another account can register the id. Vigiora staff can also release an id that has no approved version, or transfer an add-on to another account.

## Which commit is submitted

You give a repository address and, optionally, a ref. The cloud resolves it itself and shows you the commit it found.

- No ref: the default branch.
- A branch or tag name: that branch or tag.
- A full 40-character lower-case commit hash: it must be on the repository's default branch. A hash that only exists in a fork, or on an unmerged branch, is refused. Short hashes and pull-request refs (`refs/pull/...`) are not accepted.

When you press **Submit for review**, the ref is resolved again. If it now points at a different commit from the one you previewed (someone pushed in between), the submission is refused and you check again. What is stored is the snapshot of that exact commit.

## Submit and review

1. Sign in at vigiora.com with a verified email and open **Dashboard, Add-ons, Submit an add-on**.
2. Paste the repository address, optionally a branch, tag or commit, and choose **Check repository**.
3. Fix the problems, or read the preview, which is the page the Community will show. Choose **Submit for review**.

The snapshot is pinned to the commit that was checked; later changes to the repository are not published until you submit a new version.

Rules: one pending submission per add-on, the version must be higher than your last approved one, and an id stays with the account that registered it. You can withdraw a pending version from the same page. A reviewer approves or rejects each version; a rejection always carries a reason, which you see next to the version. Reviewers pay particular attention to privileged containers, host networking, the permissions you ask for, and what the compose file really runs. Approved add-ons can later be suspended, with a reason, if a problem is reported.

Anyone signed in can report a published add-on from its Community page.

## Your author page

Once one of your add-ons is published, you have a public author page at `vigiora.com/community/authors/<handle>`, linked from each of your add-ons. It shows your picture, display name, a short bio, an optional website, when you joined, and your published add-ons with their upvotes. Your email address, account name, country, payout details and earnings are never shown.

Set it up in **Dashboard, Add-ons, Your author page**:

- **Handle**: 3 to 30 lowercase letters, digits and hyphens. You can change it once every 30 days; the old address forwards to the new one for 30 days and nobody else can take it in that time.
- **Display name** (up to 50 characters) and **bio** (up to 280 characters): plain text only.
- **Website**: an `https://` address, optional.
- **Picture**: PNG, JPEG or WebP, at most 2 MB. It is cropped to a square 256 × 256 picture and its metadata (such as location) is removed; the file you upload is not kept. Without one, your initials are shown.

Signed-in accounts can upvote an add-on once (and take the vote back). You cannot upvote your own add-ons. The Community list can be sorted by **Top**. Vigiora can hide a display name, picture, bio and website that break the rules; the page then shows the author name from your add-on and your initials. A handle that breaks the rules can be replaced with a random one; the old address then stops working.

---

Source: https://vigiora.com/docs/developers/add-ons · Last updated 3 Dec 2026, 11:44 UTC
