Installation
Detailed installation instructions for Observer
Installing Observer
Observer can run in two deployment styles:
- All-in-One (AIO): single container for local development and lightweight CI usage
- Distributed: separate services for ingestion, processor, API, web, and infrastructure
Installation Methods
Choose the method that best matches your environment.
1. Docker (AIO)
Fastest way to run Observer locally:
docker run -d \
--name observer \
-p 3000:80 \
-p 50051:50051 \
-p 5432:5432 \
-v observer-data:/data \
ghcr.io/stanterprise/observer/aio:latest
This exposes:
- Web UI: http://localhost:3000
- gRPC ingestion: localhost:50051
- PostgreSQL (for local inspection): localhost:5432
2. Kubernetes with Helm
Deploy from the OCI chart:
helm install observer oci://ghcr.io/stanterprise/observer/charts/observer --version 0.1.0
# Optional local access during testing
kubectl port-forward svc/observer-web 3000:80
kubectl port-forward svc/observer-ingestion 50051:50051
3. Distributed Docker Compose
For local multi-service testing:
docker compose --profile dist up -d
Configuration
Ingestion service
PORT(default50051)NATS_URLNATS_STREAMNATS_SUBJECT_PREFIX
Processor service
POSTGRES_DSNorDATABASE_URL(primary persistence)MONGODB_URIorMONGO_URI(live step buffering)NATS_URL,NATS_STREAM,NATS_CONSUMER
API service
PORT(default8080)POSTGRES_DSNorDATABASE_URL(required for REST reads)NATS_URL,NATS_STREAM,NATS_WS_CONSUMER(WebSocket relay)
Verification
After installation, verify Observer is running:
# Docker/AIO
docker ps | grep observer
# Kubernetes
kubectl get pods
# API health endpoint
curl http://localhost:8080/health
Troubleshooting
AIO container is up but no events appear
- Confirm reporter points to
localhost:50051 - Confirm tests are running with
@stanterprise/playwright-reporter
docker logs observer
API has no data in distributed mode
- Verify processor has PostgreSQL and NATS connectivity
- Verify API has PostgreSQL connectivity
docker compose logs processor
docker compose logs api
Next Steps
- Architecture Overview - Understand Observer’s components
- Getting Started - Quick start guide
- Integrations - Connect Playwright and CI pipelines