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.

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.

Next steps

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