Quick Start (Docker Compose)
Enmesh Hub runs as three containers (app, geometry-worker, and postgres with pgvector/pgvector:pg17). In self-hosted deployments, the app container serves both the Hono API and the React SPA from one port.
Prebuilt multi-architecture images are published at ghcr.io/enmesh-app/enmesh-app:latest and ghcr.io/enmesh-app/enmesh-geometry-worker:latest.
1. Clone and Set Up Environment
git clone https://github.com/enmesh-app/enmesh.gitcd enmeshcp .env.example .envEdit .env to set these variables:
BETTER_AUTH_SECRET: Set a random 32-byte hex string (openssl rand -hex 32).ENMESH_HOST_LIBRARY_DIR: Set an optional path on your host or NAS containing 3D models (mounted read-only at/library:ro).
2. Start the Containers
docker compose -f deploy/docker-compose.yml up -d --buildRun this command to make sure that the service is healthy:
curl -s http://localhost:3000/api/v1/healthExpected response:
{"status":"ok","service":"enmesh-api","version":"0.1.2","database":"connected"}3. Finish the Setup Wizard
Open http://localhost:3000 in your browser:
- Create your Instance Admin account and initial workshop workspace.
- Enmesh creates a writable Managed Inbox for web uploads and browser captures.
- To scan an existing folder, turn on Attach a Read-Only Local or NAS Library and enter
/library.
Reverse-Proxy SSO (Authentik, Authelia, Cloudflare Access)
When an identity-aware proxy sits in front of Enmesh Hub, set these variables in .env:
TRUSTED_PROXY_HEADERS=trueTRUSTED_PROXY_USER_HEADER=Remote-EmailTRUSTED_PROXY_NAME_HEADER=Remote-NameTRUSTED_PROXY_SECRET=your-shared-proxy-secretSend X-Enmesh-Proxy-Secret from your reverse proxy so direct requests cannot spoof user headers.