Skip to content

Configuring your distribution ​

Distribution-specific settings are compile-time constants in shared/common/src/distro.rs of the backend:

SettingDescription
DISTRO_IDShort ID of the distribution. Also accepted as top-level domain for the internal host names of apps, in addition to .n5i.
DISTRO_NAMEDisplay name of the distribution.
DISTRO_VERSIONVersion of the distribution. Defaults to the crate version.
APP_PRELOADERContainer image used to preload files into app volumes. Point it to the image you build from services/app-data-loader.
get_storage_class()The Kubernetes storage class for app volumes, or None for the cluster's default.
INIT_STORESThe app stores that are added by default.

N5I_VERSION must stay the upstream n5i version your distribution is based on, even if you change your crate versions: app stores use it to pick compatible apps.

Free and open-source software under the GNU AGPL 3.0 or later.