Deployment
Deployment
Deploy MetricChat with Docker, Docker Compose, or Kubernetes.
Docker (Quickest)
docker run -d -p 3000:3000 \
-e MC_DATABASE_URL=postgresql://user:pass@host:5432/mydb \
metricchat/metricchatDocker Compose (Production)
Includes Postgres for MetricChat's internal data and Caddy for automatic SSL:
version: "3.8"
services:
metricchat:
image: metricchat/metricchat
ports:
- "3000:3000"
environment:
MC_DATABASE_URL: postgresql://user:pass@host:5432/mydb
depends_on:
- postgres
postgres:
image: postgres:16
environment:
POSTGRES_DB: metricchat
POSTGRES_USER: metricchat
POSTGRES_PASSWORD: changeme
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:Kubernetes (Helm)
helm repo add metricchat https://charts.metricchat.com
helm install metricchat metricchat/metricchat \
--set database.url=postgresql://user:pass@host:5432/mydbNetwork Requirements
MetricChat works behind corporate firewalls and VPNs. It only needs outbound access to your configured LLM provider (or none at all if using Ollama locally).