Testiment

Overview

Start here for self-hosting architecture, scope, and navigation.

This section covers how to deploy and operate Testiment in your own infrastructure.

In This Section

Architecture

Testiment runs as three services:

  • web: Next.js frontend (container port 3001)
  • server: Hono API backend (container port 3000)
  • postgres: PostgreSQL database (container port 5432)

For the supported self-hosted Caddy setup, one public hostname serves:

  • / from web
  • /api and /rpc from server

Repository resources used in this guide:

  • scripts/setup.sh for the interactive terminal install flow
  • docker-compose.yml for pull-and-run
  • docker-compose.external-db.yml for hosted PostgreSQL deployments
  • docker-compose.caddy.yml for the built-in Caddy reverse proxy
  • .env.example for runtime configuration

On this page