Configuring your distribution
Distribution-specific settings are compile-time constants in shared/common/src/distro.rs of the backend:
| Setting | Description |
|---|---|
DISTRO_ID | Short ID of the distribution. Also accepted as top-level domain for the internal host names of apps, in addition to .n5i. |
DISTRO_NAME | Display name of the distribution. |
DISTRO_VERSION | Version of the distribution. Defaults to the crate version. |
APP_PRELOADER | Container 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_STORES | The 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.