Environment variables
The environment variables a Dominevo container reads, split by role, with their shipped values.
These are the environment variables you can set on a Dominevo container, and what happens if you leave each one unset. Variables not listed here are internal; setting them is unsupported.
Both roles
| Variable | Shipped value | What it does |
|---|---|---|
DOMINEVO_ROLE | hub | hub or agent. One image serves both; this selects which at boot. |
DOMINEVO_MEDIA_ROOT | /recordings | Container path all media is written under. Must match your recordings mount, or recordings land in /data. |
DOMINEVO_MOLECULER_USE_HOSTNAME | false | Must stay false for a multi-machine cluster, so nodes advertise their IP rather than a container hostname no other host can resolve. |
DOMINEVO_LOG_LEVEL | info | trace, debug, info, warn or error. Every forked addon runner inherits it. |
TZ | unset | The node's time zone (IANA name, e.g. Europe/Rome). It is the default zone of your site: sunrise and sunset, schedules and the times written in notifications. Unset or empty means UTC. Unraid sets it from its own zone. |
Hub only
| Variable | Shipped value | What it does |
|---|---|---|
| (none for credentials) | No password, token or key is read from the environment. The first boot creates admin / changeme; the session signing key lives in the hub's keychain. There is no cluster secret: agents are paired from Cluster → Nodes. DOMINEVO_ADMIN_USER, DOMINEVO_ADMIN_PASS, DOMINEVO_JWT_SECRET, DOMINEVO_CLUSTER_SECRET (retired), DOMINEVO_SECRET_KEY and HF_TOKEN are ignored, and the hub names any it finds in a warning at boot. |
The hub's own address is not an environment variable. Agents, sign-in links
and OAuth take it from the Network page. If
DOMINEVO_HUB_PUBLIC_URL or DOMINEVO_PUBLIC_ORIGIN is set, the hub ignores
it and logs a warning at boot.
Reset the admin password
If you forget the admin password, create an empty file named
RESET_ADMIN_PASSWORD in the hub's data directory and restart the hub. That is
/data in the container. At boot the hub sets the admin password back to
changeme (the next sign-in asks for a new one) and deletes the file, so the
reset happens once.
touch /path/to/your/data/RESET_ADMIN_PASSWORD
docker restart dominevoHub only, advanced
| Variable | Shipped value | What it does |
|---|---|---|
DOMINEVO_PORT | 4443 | Port of the admin UI and API. The image's healthcheck follows it. |
DOMINEVO_HOST | 0.0.0.0 | Address the admin UI and API bind to. |
If your config.yaml set a non-default port, host or data path, set the matching variable; the file is ignored from the next release. Browser origins allowed to call the hub are set in Administration → System → Settings → Authentication.
To use your own HTTPS certificate, upload it in the admin UI under
Network → Local access. There
is no environment variable for it. If DOMINEVO_TLS_CERT or
DOMINEVO_TLS_KEY is set, the hub ignores it and logs a warning at boot.
Agent only
| Variable | Shipped value | What it does |
|---|---|---|
DOMINEVO_HUB_ADDRESS | (blank) | IP or hostname of the hub to join. Blank leaves the agent unconfigured: it is found on the network and paired from the hub (Cluster → Nodes → Agents found on the network). |
DOMINEVO_HUB_URL | (blank) | Full hub base URL, e.g. https://10.0.0.5:4443. Blank derives it from DOMINEVO_HUB_ADDRESS; set it only when the hub is on a non-default port or behind a proxy. |
DOMINEVO_NODE_ID | (blank) | Stable cluster identifier for this agent, e.g. gpu-box. Defaults to the container hostname. Must be unique across the cluster, and must not change once the hub knows it. |
DOMINEVO_AGENT_NAME | (blank) | How this agent is labelled in the topology view. Defaults to the node ID. |
DOMINEVO_STATUS_PORT | 4444 | Port for the agent status API and dashboard. |
Baked into the image
These are set by the image and you should not override them. They are listed so
that when you see one in docker inspect you know what it is.
| Variable | Value |
|---|---|
DOMINEVO_DATA | /data |
DOMINEVO_ADDONS_DIR | /data/addons |
DOMINEVO_BACKUP_ROOT | /backups |
DOMINEVO_SEED_SERVER_DIR | /opt/dominevo-hub/node_modules/@dominevo/server |
DOMINEVO_ROLE | hub (override it for an agent) |
LIBVA_DRIVER_NAME | iHD |
NODE_ENV | production |