8 min read

Self-hosting Gablespring on a single virtual machine

TF

Tobias Fenn

Staff Engineer

Self-host

Everything you need to run your own instance: the services involved, backups, upgrades and the settings we recommend.

Self-hosting is free and always will be. This guide covers a simple, dependable setup on one machine that a small team can run without a dedicated platform engineer.

What runs where

A Gablespring instance is a web server, a background worker, a database and a cache. All four fit comfortably on a single modest machine for most teams starting out.

Backups first

Before you invite anyone, schedule database backups and test a restore. It takes ten minutes and it is the step people most often skip.

Upgrades

Releases ship with migration notes. Read them, pull the new image, and run the upgrade command. Rolling back is the same process in reverse.

Recommended settings

  • Put the instance behind a reverse proxy with TLS.
  • Turn on SSO if your identity provider supports it.
  • Send logs somewhere you already watch.

When you outgrow one machine, the same services split cleanly across several. Nothing about your data model changes.

Category

Guides

Published

Reading time

8 min read

Create a free website with Framer, the website builder loved by startups, designers and agencies.