Releasesv0.1.0

Raspberry Pi 5

The full stack on a Raspberry Pi 5 with 4 GB, with an overlay tuned for it.

The images are multi-arch and Postgres is pinned by its multi-arch digest, so the same compose file runs on a Pi. Add the Pi overlay, which trims memory use:

docker compose --env-file .env -f deploy/docker-compose.yml -f deploy/docker-compose.pi.yml up -d --wait

Configure .env first, as in Docker Compose, and keep the same -f files on every later command.

What the overlay changes

SettingValue
Postgres shared_buffers128MB
Postgres effective_cache_size512MB
Postgres work_mem4MB
Postgres max_connections30
timescaledb.max_background_workers4
ohs memory limit512 MB, with GOMEMLIMIT=256MiB
OHS_INGEST_CONCURRENCY2 uploads at once; more answer 503 with Retry-After

Use an SSD

Postgres writes a lot during a large first upload. A USB 3 SSD or an NVMe HAT lasts much longer than an SD card, and is faster.

Edit on GitHub

On this page