Skip to content

Self-hosting

MeetAlias runs on your own server with Docker Compose. This section takes you from an empty server to a running install, and covers keeping it running.

What you need

  • Google Workspace or Microsoft 365: on Google, access to the admin console and to Google Cloud; on Microsoft, a Global or Application Administrator in Entra ID. MeetAlias signs people in with their company account and uses their calendar and mailbox. Personal @gmail.com or Outlook.com accounts aren't supported.
  • A Linux server with Docker Engine and the Compose plugin. 1 vCPU and 1 GB of memory is enough for a small team: the containers are capped at about 830 MB together. 2 GB with swap is more comfortable while the image builds.
  • A domain name per site, such as meet.example.com, pointing at the server (A/AAAA records).
  • Ports 80 and 443 open to the internet. Caddy uses them to get and renew HTTPS certificates from Let's Encrypt.

What runs

flowchart LR
  internet((Internet)) -- 80/443 --> caddy[Caddy<br/>HTTPS, security headers]
  caddy -- frontend network --> app[MeetAlias<br/>Next.js, port 3000]
  app -- backend network<br/>internal only --> db[(Postgres 17)]
  app -- HTTPS --> google[Google APIs or Microsoft Graph]
Service Role
caddy Serves every site domain, gets certificates automatically, adds security headers, proxies to the app.
app The MeetAlias web app, plus background jobs (calendar sync, reminders, daily emails) in the same process.
db Postgres. On an internal network with no published port and no internet access.
migrate One-off job that applies the database schema; run on every install and upgrade.

The app container runs as a non-root user with a read-only filesystem, no Linux capabilities and memory limits. See Security.

Steps

  1. Install: get the code, write .env, start the stack.
  2. Connect Google Workspace or Microsoft 365 in the setup wizard.
  3. Configure the rest, and set up sites and branding if you serve more than one brand.
  4. Read Operations for upgrades and backups before you depend on it.