---
title: "Deploy CloverHR on StackBlaze"
description: "Keep everything about your people in one place: profiles, time off, timesheets, hiring, onboarding, benefits, performance, and reports. Open-source HR for small and mid-sized teams in the United States and Canada. A self-hosted alternative to BambooHR, without payroll: it exports what your payroll or accounting software needs."
category: "work, productivity, management"
url: https://www.stackblaze.com/templates/cloverhr
---

# Deploy CloverHR

Keep everything about your people in one place: profiles, time off, timesheets, hiring, onboarding, benefits, performance, and reports.
Open-source HR for small and mid-sized teams in the United States and Canada. A self-hosted alternative to BambooHR, without payroll: it exports what your payroll or accounting software needs.

**[Deploy CloverHR on StackBlaze](https://dashboard.stackblaze.com/new/template/cloverhr)**

## This stack

- **Web**: CloverHR server
- **PostgreSQL**: managed database · TCP:5432
- **Email**: platform add-on

## After you deploy

Pulls the prebuilt ghcr.io/stackblaze-adam/cloverhr image. There is nothing to fill in before you deploy. On the first start the app creates its tables; then open the app's address and a short setup asks for your company (name, country, time zone, language), your name, work email and password, optional two-step login (an authenticator app or a passkey), and whether to start empty or with the Northwind Studio demo company. That first account becomes the workspace owner, and the setup page is gone for good. Open it soon after deploying: until then whoever opens the address first can claim it (set CLOVERHR_SETUP_CODE to have the setup ask for a code first). Postgres 16 is created with the app, and uploaded documents persist on the 5 GiB data volume. CLOVERHR_SECRET_ENCRYPTION_KEY is generated once and encrypts bank and identity numbers: copy it somewhere safe and never change it once people have been added. Email goes out through the platform's Email add-on when it is on; until then email waits in Settings, Email. Scheduled jobs (accruals, reminders) run inside the app. Load demo data preselects the demo company in the setup's last step; its logins share the owner's password, so leave it off for real use.

## Configuration

- `DATABASE_URL`
- `CLOVERHR_APP_URL`
- `CLOVERHR_SECRET_ENCRYPTION_KEY`
- `CLOVERHR_TRUSTED_PROXIES`
- `CLOVERHR_DATA_DIR`
- `CLOVERHR_ALLOW_SIGNUP`
- `STACKBLAZE_LOAD_DEMO_DATA`

Source: https://github.com/stackblaze-adam/cloverhr
