> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/deploying/on-premise/settings.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Settings

Every option eyepop instance init and eyepop instance set take

`eyepop instance init` creates the instance with these settings. Some can be changed later with `eyepop instance set`, which restarts the instance once for everything it changes. The rest are changed by running `init` again with the new value: that rewrites the instance's files from scratch, so pass every setting you want to keep.

The [Command Reference](https://docs.eyepop.ai/cli/reference.md) lists every flag of every `instance` command.

### What it serves: `--ability` or `--pop`

The instance serves exactly one pop: a single model, or a pipeline of several.

* `--ability <alias-or-uuid>` serves one ability, such as `eyepop.person:latest`. Use it for the common case of one model.
* `--pop <pop>` serves a pop: a pop name from `eyepop get pops`, the UUID of a pop you saved in the dashboard, or the pop itself as JSON or YAML, inline or as a file. Use it to chain models, for example to detect people and then estimate their pose.

Pass one or the other. Without either, `init` asks on a terminal, and `--yes` picks `eyepop.person:latest`.

Changing it, with `eyepop instance set --ability` or `--pop`, restarts the instance, which downloads any models it does not have yet. The CLI checks the new pop with EyePop first, so a name that does not exist fails without touching the running instance.

### `--optimize-at-startup` and `--enable-quantization`

Whether the instance compiles its models for this machine's accelerator before it starts serving, and whether it quantizes them to 8-bit integers while doing so. Both are off by default. They trade startup time for speed; see [Optimize Models](https://docs.eyepop.ai/deploying/on-premise/optimize.md) for what they buy on each platform and how to decide.

Change them with `eyepop instance set --optimize-at-startup true` and `--enable-quantization int8`; `--enable-quantization unset` turns quantization off again.

### `--device`

Which GPU or NPU the instance runs on, on a machine with more than one. See [Choose a device](https://docs.eyepop.ai/deploying/on-premise/platforms.md#choose-a-device). Change it with `eyepop instance set --device`.

### `--media-cache`, `--media-cache-retention`, `--media-cache-size` and `--media-cache-path`

Whether the instance records the sources that ask for it, so their frames and clips can be read back, and where and for how long. Off by default. `--media-cache disk` or `--media-cache memory` turns it on, with up to an hour and 20 GB on disk, or 2 GB in memory, unless you size it. See [Media Cache](https://docs.eyepop.ai/deploying/on-premise/media-cache.md).

Change them with `eyepop instance set`, which keeps the ones you do not name. `--media-cache off` turns it off and keeps its recordings.

### `--history`, `--history-retention` and `--history-record-boot-pipeline`

Experimental, and subject to change: `--history on` keeps the history of the pipelines that ask for it in a database beside the instance. See `eyepop instance init --help`.

### `--outputs-allow-private-targets`

Whether an output that a run gives its source, such as the webhook a Python or Node SDK call or `eyepop run --output` names, may be on an address that is not public: a private, loopback or link-local address, for example a webhook on your own network, behind your firewall. Off by default: such an output is refused when the run starts, so code that can call the instance cannot use its outputs to reach other machines on your network. Turn it on when the instance's callers are yours and the system that takes their results is on your network:

```bash
eyepop instance set --outputs-allow-private-targets true
```

`false` turns it off again. It is the instance's `outputs-allow-private-targets` setting, which `init` takes too. It applies to the runs the instance serves itself: a relayed run's outputs go to EyePop's cloud with the run, and the cloud delivers to public addresses only, whatever this setting says. To get a relayed stream's results to a webhook behind your firewall, use `--relay-results instance` (see [Relay to the Cloud](https://docs.eyepop.ai/deploying/on-premise/relay.md#relay-a-stream)). [Persistent streams](https://docs.eyepop.ai/deploying/on-premise/streams.md) are not limited by it: only the instance's operator declares them, so a stream's `--output` can always be on a private address.

### `--tag`

The version of the runtime the instance runs, such as `v4.22.0`. By default `init` uses the version EyePop recommends for new instances.

Pin a version to keep every machine in a fleet identical, or to keep a machine on a version you have validated. Name a newer one to get a fix or a feature before it is recommended. Each version is a separate download of several gigabytes.

Change it by running `init` again with `--tag`.

### `--name`

The name the instance has in your account: `eyepop get instances` and the dashboard show it. It defaults to the machine's hostname. Give it a name that tells your machines apart. Change it by running `init` again with `--name`.

### `--account`

The account the instance belongs to, for users with access to more than one. By default it is the account of your API key, or of your `eyepop auth login` session. `eyepop get accounts` lists the accounts you can use. Change it by running `init` again with `--account`.

### `--bind`

Which network interface the instance listens on, always at port 8080. The default, `127.0.0.1`, lets only programs on this machine reach it. `--bind 0.0.0.0` makes it reachable from other machines on your network, so a camera gateway or an application server can send it media.

The instance asks callers for no credential: whoever can reach port 8080 can send it media and read its results. On the default binding that is only this machine. Before you widen it, put an authenticating proxy in front of the port, or limit who can reach it with a firewall. Change it by running `init` again with `--bind`.

### `--profile`

The [hardware family](https://docs.eyepop.ai/deploying/on-premise/platforms.md) to set up for, overriding what `init` detects. You rarely need it. Use `--profile cpu` to run on the CPU of a machine that has an accelerator, or name another profile together with `--dump` to look at the files for hardware you do not have at hand.

### `--log-level`

How much the **runtime** logs: `debug`, `info` (the default), `warn` or `error`. `debug` helps when you troubleshoot with `eyepop instance logs`, at the cost of much more output. It does not change the CLI's own logging; set `EYEPOP_LOG_LEVEL` for that. Change it by running `init` again with `--log-level`.

### `--wait`

How long the command waits for the instance to become healthy: 300 seconds by default, and 1800 when the instance optimizes models at startup. `start`, `restart` and `set` take it too.

The instance does not stop when the time runs out, but the command reports a failure. For `init` that matters more: it removes what it set up, so the next try starts from scratch. Raise `--wait` on a slow machine or a slow network, and when a first start optimizes many models.

### `--config`

Reads the settings from a YAML or JSON file, so a setup is easy to repeat on many machines. Flags on the same command override the file. The keys are the flag names with underscores:

```yaml
ability: eyepop.person:latest
name: line-3-camera
bind: 0.0.0.0
optimize_at_startup: true
enable_quantization: int8
device: "0000:03:00.0"
media_cache: disk
media_cache_retention: 4h
media_cache_size: 50G
```

A file names `pop` or `ability`, not both. It can also hold `api_key`, so keep such a file private.

### `--config-dir`

The folder the instance's files live in, `~/.eyepop` by default. Pass the same `--config-dir` to every `instance` command, or set `EYEPOP_INSTANCE_DIR` so that `run` finds the instance too. It holds three files, all readable only by you:

| File                  | What it is                                                   |
| --------------------- | ------------------------------------------------------------ |
| `docker-compose.yml`  | How Docker runs the instance                                 |
| `eyepop-instance.yml` | The runtime's settings, including your API key in plain text |
| `pop.json`            | The pop the instance serves                                  |

Do not edit them by hand: `init` and `set` rewrite them, and an edit is lost the next time either runs.

### `--dump` and `--yes`

`--dump` writes the files `init` would create into `./eyepop-instance/` and stops: nothing is downloaded, started, or registered, and an existing instance is left alone. Use it to review a setup before you run it.

`--yes` accepts every default without asking, for scripts. Without a terminal, `init` needs the API key from `EYEPOP_API_KEY` or `--api-key`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/deploying/on-premise/settings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
