Skip to content

Administration

Once your flakiness.io instance is up and running, you’ll need at least one person who can manage it at the deployment level. That’s what SuperAdmins are for.

SuperAdmins have full control over the entire flakiness.io deployment. They can create, modify, and delete organizations, assign Organization Admins, and access deployment health statistics and the backoffice.

On flakiness.io cloud, these roles are held by Degu Labs employees. On a self-hosted instance, you decide who your SuperAdmins are.

SuperAdmins are configured via the SUPERUSERS environment variable — a comma-separated list of GitHub user IDs. To look up a GitHub ID:

Terminal window
docker run --rm -it cr.flakiness.io/app ./server/lib/cli.js get-github-id USERNAME

Then add the IDs to your flakiness.env:

Terminal window
SUPERUSERS="123456,789012"

By default, any logged-in user can create an organization. For most self-hosted deployments, you’ll want to restrict this so that only SuperAdmins can create organizations. Set the following in your environment:

Terminal window
DISABLE_ORG_CREATION=1

With this enabled, SuperAdmins create organizations and assign their initial Admins, who then manage membership and projects from there.