Self Host Wizard Docs

The apps on the box

Every app Self Host Wizard can run, where each one is served, how people sign in to it, its memory limit, and how to turn apps on and off for the box or for one company.

Each app on the box is a piece: a folder under pieces/ with a piece.toml that says where the app is served, how people sign in, how much memory it may use and what it depends on. The table at the end of this page is generated from those files at build time, so it always matches what thx installs. Each row links to the app's own page, which adds its licence, upstream project, containers and engineering notes.

Where each app lives

Every app with a web address is served at <host>.<apps domain>. The apps domain is the box's site_domain: set it once, and the CRM appears at crm.<apps domain>, the files at drive.<apps domain>, and so on. Apps are applied only once site_domain is set; before that the box serves the set-up wizard on its bare IP address. Pieces with no address in the table (the databases) are internal: other pieces use them and nobody opens them in a browser.

How people sign in

The sign-in column says how each app checks who you are. All four ways use the same people and passwords, kept in the directory (LLDAP):

  • oidc: the app sends you to the one sign-in page (Authelia) and trusts its answer. Signing in once covers every such app.
  • forward: Caddy asks Authelia before the app sees the request at all, so an app with no login of its own is still protected.
  • ldap: the app checks your username and password against the directory itself. Mail and calendar clients work this way, because a phone cannot follow a web sign-in page.
  • none: the app has no people of its own (a database, or a service other apps call).

Single sign-on explains the whole picture.

Turning apps on and off

sudo thx pieces lists every piece and whether it is enabled. Commands name the piece, not its address: sudo thx enable espocrm turns on the CRM served at crm.. Enabling adds the piece and everything it needs to the box's state; sudo thx apply then installs it. sudo thx disable <piece> takes an app off the box, and its data and secrets are kept.

Within one box, each company can also hide an installed app from its own people: sudo thx org app acme espocrm off. Every installed app is on for every company until someone turns it off.

What the memory limit means

The number in the last column is the container's memory ceiling in MB. By the project's rule it is the measured peak times 1.3, and each piece's README records the measurement it came from. The sum is the worst case, every app at its ceiling at once, not what the box uses at rest. The project's own box has 12 GB in all.

Every piece on the box

23 pieces; their memory limits add up to 6164 MB.

PieceWhat it isAddressSign-inMemory (MB)
autheliaSingle sign-onauth.none80
boardsWhiteboardsboard.forward104
bookstackWikiwiki.oidc134
collaboraOffice documents editordocs.none1128
driveFilesdrive.forward64
easyappointmentsBookingbook.forward145
espocrmCRMcrm.oidc357
forgejoGit hostinggit.oidc280
freescoutHelpdeskhelp.forward310
glitchtipError trackingerrors.oidc427
homeHome, admin panel and set-up wizardapp.forward30
listmonkNewslettersnews.oidc78
lldapUser directorydirectory.ldap68
mariadbShared MariaDB—none331
postgresShared PostgreSQL—none241
radicaleCalendars and contactsdav.ldap77
snappymailWebmailwebmail.forward192
stalwartMail servermail.ldap1024
umamiWeb analyticsanalytics.forward360
uptime-kumaStatus page and uptime monitorstatus.forward270
vaultwardenPasswordsvault.oidc163
vikunjaTaskstasks.oidc168
workspaceWorkspace: your own mail inside the app—none133

Facts on this page come from these files in the selfhostwizard repository:

  • docs/pieces.md
  • internal/piece/piece.go
  • internal/box/box.go
  • internal/steps/all.go
  • cmd/thx/main.go
  • pieces/authelia/README.md

Updated