Self Host Wizard documentation
How to install and run Self Host Wizard: one server you own running mail, calendar, files, CRM, tasks and more for every company you run.
Install it, add your companies and domains, and run mail, sign-in and every app on one box. Each page lists the files in the repository its facts come from.
Get started
- What Self Host Wizard is: One Ubuntu server you own, running mail, calendars, files, CRM, tasks and more for every company you run, managed by one command-line tool.
- Install on an Ubuntu server: What the server needs, how the thx binary gets there, the three commands that start the set-up wizard, and the cloud-firewall ports to open by hand.
Guides
- Add a company: Put another company on the same box, with its own name, teams, admins, shared calendars and folders, and choose which installed apps its people see.
- Add a domain and its DNS records: Serve another domain from the box, see the DNS records its owner publishes for web and mail, and choose which domain carries the apps.
- Mail and the outgoing-mail relay: How mail reaches the box on port 25, why outgoing mail leaves through the cloud provider's email service on port 587, and the thx relay commands that check each step.
- Users and groups: Add people, put them in companies and teams, make admins, add extra mail addresses, suspend and remove accounts, all kept in one directory every app reads.
- Single sign-on with Authelia and LLDAP: How one office password opens every app on the box, the four ways an app checks who you are, which group rules apply, and where sign-in stops today.
- Backups (not built yet): The plain status of backups on the box today, which directories hold your data and secrets, what has to be restored together, and the risks of running without a copy.
- Moving from Google Workspace: An overview of moving a company's mail, calendars, contacts and files from Google Workspace to the box, in an order that keeps mail flowing, using standard protocols.
- One installer for mail, calendar, drive and CRM on one server: Yes, one installer can put a company's mail, calendar and contacts, shared drive, CRM and twelve more apps on one Ubuntu server behind one login. What it installs, what the server needs, and what it does not do.
Apps
- 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.
- Single sign-on (authelia): Single sign-on on a Self Host Wizard box: the authelia piece, served at auth.<apps domain>, none sign-in, memory limit 80 MB.
- Whiteboards (boards): Whiteboards on a Self Host Wizard box: the boards piece, served at board.<apps domain>, forward sign-in, memory limit 104 MB.
- Wiki (bookstack): Wiki on a Self Host Wizard box: the bookstack piece, served at wiki.<apps domain>, oidc sign-in, memory limit 134 MB.
- Office documents editor (collabora): Office documents editor on a Self Host Wizard box: the collabora piece, served at docs.<apps domain>, none sign-in, memory limit 1128 MB.
- Files (drive): Files on a Self Host Wizard box: the drive piece, served at drive.<apps domain>, forward sign-in, memory limit 64 MB.
- Booking (easyappointments): Booking on a Self Host Wizard box: the easyappointments piece, served at book.<apps domain>, forward sign-in, memory limit 145 MB.
- CRM (espocrm): CRM on a Self Host Wizard box: the espocrm piece, served at crm.<apps domain>, oidc sign-in, memory limit 357 MB.
- Git hosting (forgejo): Git hosting on a Self Host Wizard box: the forgejo piece, served at git.<apps domain>, oidc sign-in, memory limit 280 MB.
- Helpdesk (freescout): Helpdesk on a Self Host Wizard box: the freescout piece, served at help.<apps domain>, forward sign-in, memory limit 310 MB.
- Error tracking (glitchtip): Error tracking on a Self Host Wizard box: the glitchtip piece, served at errors.<apps domain>, oidc sign-in, memory limit 427 MB.
- Home, admin panel and set-up wizard (home): Home, admin panel and set-up wizard on a Self Host Wizard box: the home piece, served at app.<apps domain>, forward sign-in, memory limit 30 MB.
- Newsletters (listmonk): Newsletters on a Self Host Wizard box: the listmonk piece, served at news.<apps domain>, oidc sign-in, memory limit 78 MB.
- User directory (lldap): User directory on a Self Host Wizard box: the lldap piece, served at directory.<apps domain>, ldap sign-in, memory limit 68 MB.
- Shared MariaDB (mariadb): Shared MariaDB on a Self Host Wizard box: the mariadb piece, internal only, none sign-in, memory limit 331 MB.
- Shared PostgreSQL (postgres): Shared PostgreSQL on a Self Host Wizard box: the postgres piece, internal only, none sign-in, memory limit 241 MB.
- Calendars and contacts (radicale): Calendars and contacts on a Self Host Wizard box: the radicale piece, served at dav.<apps domain>, ldap sign-in, memory limit 77 MB.
- Webmail (snappymail): Webmail on a Self Host Wizard box: the snappymail piece, served at webmail.<apps domain>, forward sign-in, memory limit 192 MB.
- Mail server (stalwart): Mail server on a Self Host Wizard box: the stalwart piece, served at mail.<apps domain>, ldap sign-in, memory limit 1024 MB.
- Web analytics (umami): Web analytics on a Self Host Wizard box: the umami piece, served at analytics.<apps domain>, forward sign-in, memory limit 360 MB.
- Status page and uptime monitor (uptime-kuma): Status page and uptime monitor on a Self Host Wizard box: the uptime-kuma piece, served at status.<apps domain>, forward sign-in, memory limit 270 MB.
- Passwords (vaultwarden): Passwords on a Self Host Wizard box: the vaultwarden piece, served at vault.<apps domain>, oidc sign-in, memory limit 163 MB.
- Tasks (vikunja): Tasks on a Self Host Wizard box: the vikunja piece, served at tasks.<apps domain>, oidc sign-in, memory limit 168 MB.
- Workspace: your own mail inside the app (workspace): Workspace: your own mail inside the app on a Self Host Wizard box: the workspace piece, internal only, none sign-in, memory limit 133 MB.
Reference
- thx command reference: Every thx command, its arguments and what it does, read from the usage text in cmd/thx/main.go.
- Mail DNS records reference: The DNS records a domain on a Self Host Wizard box publishes for mail, as internal/maildns produces them for thx dns: A, MX, SPF, DKIM, DMARC and client autoconfiguration.
Help
- Troubleshooting: The errors and stuck states the code knows about, from the set-up link and certificates to the relay refusing mail, and the thx commands that show what is wrong.
- Frequently asked questions: Short, sourced answers about cost, the server it needs, how many people a box carries, several companies, phones, backups, domains, the code and its licences.