Guides
Guides
Practical guides to running SaaS infrastructure: choosing a platform, tenant isolation, per-customer environments and deploying apps in containers.
Deployment ·
Golang hosting: deploy a Go web app with PostgreSQL
What a Go service needs from its host, the Dockerfile Staxa builds for it, and the settings that make it run the same on any platform.
Deployment ·
Golang Dockerfile: a 15 MB production image
A two-stage Dockerfile that builds a static Go binary and ships it on an image with nothing else in it, and the errors you hit on the way.
Deployment ·
Node.js hosting: deploy an Express or Fastify app
What an Express, Fastify or plain Node.js server needs to run in production, and what Staxa does with your repository.
Deployment ·
Python Dockerfile: production images with pip or uv
Three tested Dockerfiles for Python web apps, from a single stage with pip to a locked uv install, and the mistakes that make them slow or fragile.
Deployment ·
Ruby on Rails hosting: deploy Rails 8 with PostgreSQL
What a Rails 8 app needs in production, the database.yml that works with a single PostgreSQL server, and the Dockerfile Staxa builds.
Deployment ·
Django hosting: deploy Django with PostgreSQL
The settings a Django project needs before it serves real traffic, tested against a fresh startproject, and the Dockerfile Staxa builds for it.
Deployment ·
Laravel hosting: deploy Laravel with PostgreSQL or MySQL
What a Laravel 12 app needs in production, the two config changes that connect it to a hosted database, and the Dockerfile Staxa builds.
Deployment ·
Rust Dockerfile: a 10 MB image with fast rebuilds
A two-stage Dockerfile for a Rust web service, why cached dependency layers go wrong, and what to change for OpenSSL.
Deployment ·
Phoenix hosting: deploy an Elixir release
What a Phoenix 1.8 release needs to start and accept LiveView connections, how to run migrations, and the Dockerfile Staxa builds.
Deployment ·
FastAPI Dockerfile: run FastAPI in production
A short, tested Dockerfile for FastAPI, what each line does, and the proxy setting that makes request URLs say https.
Comparisons ·
Heroku alternatives in 2026: an honest comparison
Eight platforms compared on what each is good at, where it falls short and what a small app costs, with every price checked on the provider's own site.
Deployment ·
Next.js Dockerfile: a production image with standalone output
A tested three-stage Dockerfile for Next.js, what each line does, and the mistakes that make a container build fine and then fail in production.
Architecture ·
Single-tenant vs multi-tenant: five ways to isolate SaaS customers
From a shared tenant_id column to an app instance per customer: what each model shares, what goes wrong, and when to move to the next one.