Skip to main content

config.yaml

ipmideck reads its settings from data/config.yaml, written with sensible defaults on the first run. You can edit the file directly, or override any value at runtime with an environment variable (handy for Docker, see below).
The keys above are the real, unprefixed nested keys ipmideck writes to config.yaml. Environment-variable overrides use a separate IPMIDECK_ prefix and never appear inside the YAML file itself. Whether the login is on is not set here: you switch it from the Security settings, and the answer is kept in the database, so write access to config.yaml cannot turn the login off. A few optional keys are not written by default. Add them when you need them:

Environment overrides

Every setting can be overridden at runtime with an IPMIDECK_-prefixed environment variable. This is the easiest way to configure ipmideck in Docker, where you do not want to edit a file inside the container. Two more variables control file locations rather than a config.yaml value: IPMIDECK_DATA_DIR (the data directory, see below) and IPMIDECK_CONFIG_PATH (an explicit path to a config.yaml to load).
Environment variables take precedence over values in config.yaml. Set them in your docker run command (-e IPMIDECK_SERVER_PORT=8080) or your docker-compose.yml.

Where config lives

ipmideck resolves its data directory from IPMIDECK_DATA_DIR if set, otherwise it falls back to a platform default. config.yaml always lives at <data-dir>/config.yaml:
  • Docker: /data/config.yaml: the image sets IPMIDECK_DATA_DIR=/data; persist /data with a volume.
  • pip on Linux: /data/config.yaml by default: set IPMIDECK_DATA_DIR to relocate it.
  • pip on Windows: ./data/config.yaml, relative to the directory you run ipmideck from.

Update checks

ipmideck can tell you when a newer version has been published. First-run setup asks once whether it may check, and you can change the answer at any time under Settings → About → Updates.
  • What it sends. One GET to the index that matches how you installed: the Python package index, the container registry, or the published releases. It carries the product name and the version you run, and nothing else: no identifier, no hostname, nothing about your servers. When the package index or the container registry reports a newer version, a second GET asks the published releases whether it is a security release. Every request is written to the log before it is sent.
  • When. At start-up and once every 24 hours while the check is on, and whenever you press Check now in Settings or g in the console.
  • What it never does. The check does not download or install anything. Installing is a separate step you start yourself: see Updating from the web UI.
To switch it off completely, set updates.enabled: false in config.yaml, or IPMIDECK_UPDATES_ENABLED=false. With that set, ipmideck never opens a connection to look up a version, whatever was answered during setup, and Check now and g are refused.

Installing ipmitool from the web UI

ipmideck reaches every BMC through the ipmitool program. When it is missing, ipmideck still starts, and the web UI shows a banner with the command that installs it on your system. The banner can also run that command for you, through the system package manager, when all of these are true:
  • ipmi.auto_install_ipmitool is true (it is false by default);
  • ipmideck runs as root, or as a user with sudo that does not ask for a password;
  • the login is on.
ipmideck never asks for a password in the browser. In Docker the image already includes ipmitool. On Windows there is no package to install: install a tool that ships ipmitool.exe, such as Dell iDRAC Tools, or put ipmitool.exe on PATH.

Next steps

  • Security: how credentials and sessions are protected.
  • Features: what each module does.