Skip to main content
Version: 1.0

Self-Hosting

Too Much Tools is designed to run entirely inside your own infrastructure, with no mandatory external services and no telemetry. Because local tools run in the browser, a self-hosted instance works without any backend service.

A pre-built image is published to Docker Hub as milvasoft/toomuchtools. CI builds and pushes it on every commit to the default branch.

docker run -p 3000:3000 milvasoft/toomuchtools:latest

Available tags:

  • latest: the newest build from the default branch.
  • The version from package.json, as the full version and as major.minor (for example 0.1.0 and 0.1).

Pin to a version tag instead of latest for reproducible deploys:

docker run -p 3000:3000 milvasoft/toomuchtools:0.1.0

To build the image yourself:

docker build -t toomuchtools .
docker run -p 3000:3000 toomuchtools

Then open http://localhost:3000.

The Dockerfile is a multi-stage build:

  1. deps: install with pnpm from a frozen lockfile.
  2. builder: pnpm build (Next.js standalone output).
  3. runner: a slim image running node server.js as a non-root user.

Next.js standalone output means the runtime image ships only the server and the assets it needs.

Configuration​

Configuration is intentionally minimal:

VariablePurposeDefault
NEXT_PUBLIC_SITE_URLBase URL for canonical / OpenGraph metadata.https://toomuch.tools
PORTPort the server listens on (set by the image).3000

To override locally, copy .env.example to .env:

cp .env.example .env

Without Docker​

pnpm install
pnpm build
pnpm start # serves the production build on PORT (default 3000)

Static export (any CDN)​

The app has no server-side logic, so it can be shipped as a fully static site with no Node server at all:

pnpm build:static     # writes a static site to ./out

This is opt-in (it sets STATIC_EXPORT=true); the default pnpm build stays the Node standalone server used by Docker. Deploy out/ to any static host, for example Cloudflare Pages:

npx wrangler pages deploy out

out/ contains prerendered HTML for every tool, sitemap.xml and per-tool OpenGraph images.

Reverse proxy​

Put it behind nginx, Caddy or Traefik like any Next.js app and proxy to port 3000. No sticky sessions or shared state are needed: the server is stateless and all personalization happens in the browser.