# Self-Hosting & Deployment

Source: https://runvero.dev/docs/self-hosting/
Documentation index: https://runvero.dev/llms.txt

RunVero is dual-licensed (`Apache-2.0 OR MIT`) and includes reference deployment manifests in the core repository. During private preview, cloning the repository requires authorized access until the first public release ([Quick Start](https://runvero.dev/docs/quickstart)). Review [Security & Trust Model](https://runvero.dev/docs/security) for host hardening, signing-key protection, and when to add OS-process or microVM boundaries around self-hosted workers.

## Docker Compose

Run the multi-container stack with Prometheus metrics scraping:

```bash
docker compose -f deploy/docker/docker-compose.yml up -d
```

## Kubernetes Deployment

Deploy zero-trust pods with non-root security contexts and read-only filesystems:

```bash
kubectl apply -f deploy/k8s/
```

Key security attributes in our manifests:
* `runAsNonRoot: true`
* `readOnlyRootFilesystem: true`
* `allowPrivilegeEscalation: false`
* Strict `NetworkPolicy` blocking internal pod-to-pod lateral movement.

## AWS Terraform Blueprint

Deploy a production AWS ECS Fargate cluster with Application Load Balancer (ALB), private subnets, and CloudWatch log groups using the module in `deploy/terraform/`.
