TestMesh
Deployment

Deployment Overview

Deploy TestMesh with Docker, Kubernetes, or connect to existing infrastructure. Run site agents for private networks or use TestMesh Cloud.

TestMesh ships as a single Go binary (API) and a Next.js dashboard. You can run it fully self-hosted, use TestMesh Cloud with site agents in your private network, or mix both.

Docker Compose Files

TestMesh provides four Docker Compose files, each suited to a different use case.

FilePurposeIncludes
docker-compose.ymlProduction / distributionAPI + Dashboard only
docker-compose.dev.ymlFull local developmentEverything bundled
docker-compose.infra.ymlInfrastructure onlyPostgreSQL + Redis + Kafka
docker-compose.services.ymlDemo microservices4 demo services

When to Use What

If you already have PostgreSQL and Redis running — whether locally or in the cloud — start with docker-compose.yml. It expects external infrastructure and only runs the TestMesh API and dashboard.

SituationCommand
I have my own PostgreSQL and Redisdocker-compose up -d
I want everything bundled (learning / demos)docker-compose -f docker-compose.dev.yml up -d
I only need databases for local devdocker-compose -f docker-compose.infra.yml up -d
I want to run the demo microservicesdocker-compose -f docker-compose.services.yml up -d
Production with AWS RDS + ElastiCachedocker-compose up -d with env vars
CI/CD ephemeral test databasesdocker-compose -f docker-compose.infra.yml up -d

Quick Start

Spin up everything — databases, API, dashboard, and demo microservices — with a single command:

docker-compose -f docker-compose.dev.yml up -d

This starts PostgreSQL on 5432, Redis on 6379, Kafka on 9092, the API on 5016, the dashboard on 3000, and all four demo microservices on ports 5001–5004.

Point TestMesh at your existing databases:

export DATABASE_HOST=localhost
export DATABASE_PORT=5432
export REDIS_HOST=localhost
export REDIS_PORT=6379

docker-compose up -d

Then verify it started:

curl http://localhost:5016/health

On this page