# leerob/next-self-host

An example deploying Next / Postgres / Nginx to a Ubuntu Linux server.

Repository: https://github.com/leerob/next-self-host
Canonical: https://ross.abutalabs.com/products/next-self-host
Language: TypeScript
License Family: other
Last push: 2026-01-31T20:37:32+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 65, release rhythm 35, longevity 49
- inputs: {"age_days": 697, "days_push": 214, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1515, forks 206 (observed 2026-08-28T04:04:56.555184+00:00)

## What it is
An example repository demonstrating how to self-host a Next.js application with PostgreSQL and Nginx on an Ubuntu Linux server using Docker. It includes a deploy script that automates server setup, SSL certificates, and container deployment.

## Use cases
- self-host a next.js app on my own server
- deploy next.js and postgres with docker
- set up nginx with ssl for a node app
- learn how to deploy without vercel
- example docker compose setup for next.js and postgres
- automate ubuntu server deployment with a bash script

## When to choose
- you want to self-host a Next.js app on a VPS instead of a managed platform
- you need a working reference for Docker, Nginx, and Postgres deployment
- you want a step-by-step tutorial with an accompanying video

## When to avoid
- you need a production-grade, maintained deployment framework
- you deploy to serverless or container platforms like Vercel or Kubernetes
- you need a license-clear template for commercial reuse

## Facets
- artifact type: learning-resource
- maturity: active
- function: deployment, self-hosted, developer-tools
- domain: web-development, self-hosted, developer-tools
- platform: self-hosted
- tags: nextjs, nginx, postgresql, docker-compose, deployment-script, example-app, tutorial, devops, linux, docker, nodejs

## Member repositories
- leerob/next-self-host (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.555184+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:09.874648+00:00, confidence not recorded.
  - readme: https://github.com/leerob/next-self-host (fetched 2026-08-28T04:04:56.555184+00:00, sha 9bd59ab8664c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
