Deploy on a VM / Docker host
Work in progress. A full walkthrough for deploying Harnesst on a bare VM or generic Docker host is coming. In the meantime, the Cloud Run guide and the repository’s docker-compose.yml are the best references.
What this page will cover
- Provisioning a VM (size, disk, networking)
- Installing Docker and Docker Compose
- Running PostgreSQL and Redis — self-hosted or managed
- Pulling and running the Harnesst backend and web images
- Reverse proxy (Nginx / Caddy / Cloudflare) with TLS
- Systemd units for auto-start and zero-downtime restarts
- Backups and log rotation
In the meantime
The one-command installer sets up the whole stack on a Docker host from the published images, Docker included on Linux:
curl -fsSL https://jr-k.github.io/harnesst/install.sh | HARNESST_URL=https://your-domain bashThen put your favourite TLS-terminating proxy in front of port 9000. Settings
live in harnesst/.env (see Environment variables);
run the installer again to update. The Get Started
guide lists every installer option.
If you’ve deployed Harnesst on a VM and want to help write this page, the issue tracker is here — a case study or tutorial submission is very welcome.
Last updated on