# Self-host OpenObserve

> A lightweight, single-binary observability platform for logs, metrics, and traces with a built-in UI.

- Page: https://levelrail.com/templates/openobserve/
- JSON: https://levelrail.com/templates/openobserve.json
- Category: Monitoring
- Licence: AGPL-3.0 (Network copyleft (AGPL) license)
- Source: https://github.com/openobserve/openobserve
- Upstream docs: https://openobserve.ai/docs

## Requirements
- Memory: about 512 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: v0.90.0

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| openobserve | public.ecr.aws/zinclabs/openobserve | v0.90.0 | 5080 | openobserve_data -> /data |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| openobserve | ZO_DATA_DIR | preset |
| openobserve | ZO_ROOT_USER_EMAIL | preset |
| openobserve | ZO_ROOT_USER_PASSWORD | generated |
| openobserve | ZO_TELEMETRY | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy openobserve --name my-openobserve
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/openobserve/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy OpenObserve on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id openobserve for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image public.ecr.aws/zinclabs/openobserve:v0.90.0 is what you deploy there.

Self-host OpenObserve, OpenObserve docker compose file, deploy OpenObserve on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
