Deploy Heirloom

A private family tree app with sharing

Deploy Heirloom

/var/lib/postgresql/data

Just deployed

/data

Deploy and Host Heirloom on Railway

Heirloom is a private, self-hosted family tree app. Build your tree, attach photos and documents, cite sources, and share it with family members you invite. Everyone signs in with Google; nobody else can see it. It imports and exports GEDCOM, so your research moves in and out of other genealogy software.

About Hosting Heirloom

This template runs Heirloom's release image from GitHub Container Registry alongside a PostgreSQL database. Photos and other media are stored on a volume mounted at /data, so they survive redeploys. Before deploying, create a Google OAuth web client and enter its ID and secret, plus your own Google address, which becomes the first admin. After deploying, add your Railway domain's callback URL to the Google client, sign in, and invite family from the Members page.

To move to a newer release line, back up the database and the /data volume, then change the image tag in the service's Source settings (for example from 1.3 to 1.4) and redeploy.

Common Use Cases

  • A family sharing one tree, each member signing in from their own device
  • Moving a GEDCOM from desktop genealogy software to a private web app
  • Keeping family photos, documents and sources together with the people they belong to

Dependencies for Heirloom Hosting

  • PostgreSQL (included in this template)
  • A Google OAuth web client for sign-in

Deployment Dependencies

Implementation Details

  • App: the ghcr.io/goombario/heirloom release image, pinned to the current release line (such as 1.3) so it takes that line's fixes without jumping to the next release on its own. It listens on port 3000 and runs as an unprivileged user.
  • Database: PostgreSQL, reached over Railway's private network through DATABASE_URL. Heirloom creates and upgrades its own tables on start.
  • Media: photos and documents are stored on a volume mounted at /data, so they survive redeploys.
  • Sign-in: Google OAuth only. Who may sign in is stored in the database; AUTH_BOOTSTRAP_EMAIL makes the first admin, who invites everyone else from the Members page.

Why Deploy Heirloom on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Heirloom on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0