Skip to content

Self-hosting

Pulsy uses PostgreSQL, a Node server and nginx. Configure the required secrets and deployment URLs, then start the Docker stack. Self-hosted capabilities have no subscription gates; practical capacity depends on your host.

01

Size your host for the number of monitors, intervals, retained history and build workload; measure resource use before increasing capacity.

  • A Linux host with Git, Make, OpenSSL, Docker and the Compose plugin.
  • Enough RAM and disk for image builds, the server and PostgreSQL. Requirements grow with check frequency and retained history.
  • A domain name, and a TLS-terminating reverse proxy in front for production.
  • Outbound network access, so the checker can reach the endpoints you monitor.

02

From a clean host to a running instance.

BASHQuickstart
# 1. Clone the repository and create your environment file
git clone https://github.com/SelmiAbderrahim/pulsy.org.git pulsy && cd pulsy
cp .env.example .env

# 2. Generate the two required secrets and paste them into .env
openssl rand -base64 32   # -> ENCRYPTION_KEY
openssl rand -base64 32   # -> BETTER_AUTH_SECRET

# 3. Start the full stack (postgres + server + web)
#    The server applies the database schema on startup.
make start

# Optional: create disposable demo data for local evaluation only
# make seed

Open http://localhost:3000 and create your own account. Demo seeding is optional and intended only for local evaluation. Use make logs to inspect startup and make stop to stop the stack. The server applies the database schema on startup.

03

All configuration lives in a single root `.env`, copied from `.env.example`.

Environment variables
VariableRequirementPurpose
ENCRYPTION_KEYRequiredAES-256-GCM key protecting email-provider credentials at rest. Generate with `openssl rand -base64 32`.
BETTER_AUTH_SECRETRequiredSigns session cookies. Generate the same way, and keep it distinct from the encryption key.
PUBLIC_SERVER_URLRequiredThe public address of the API server. Used for links and callbacks.
PUBLIC_WEB_URLRequiredThe public address of the web app. Also the canonical origin for SEO and status pages.
BETTER_AUTH_URLRequiredThe origin better-auth issues and validates sessions against.
RESEND_API_KEYOptionalSet it, with `EMAIL_FROM`, to actually send verification and password-reset mail. Left unset, the server logs email metadata only and omits bodies, because they can contain reset tokens.

Rotating ENCRYPTION_KEY makes any already-encrypted provider secrets unrecoverable. Set it once, back it up, and treat it like a database password.

Three containers on one host. No queue, no external services, nothing to sign up for.

  • pulsy-postgres

    PostgreSQL stores application data. Back it up together with the root configuration and encryption key; keep secrets in protected storage.

  • pulsy-server

    The tRPC API, the better-auth handler, and the node-schedule check scheduler. The scheduler runs inside this process, so monitors are checked for exactly as long as this container is up.

  • pulsy-web

    The built React SPA served by nginx, which proxies /api/* to the server so the browser stays same-origin and session cookies just work.

04

Upgrading

Before production, set the real public origins and trusted origins, use HTTPS through a reverse proxy, configure authentication email and restrict database access. Never expose seeded demo credentials. Back up the database and root configuration securely before updating; read release notes, rebuild with make start, and check logs and monitor results afterwards.

BASHUpgrading
git pull
make start   # rebuilds the images and re-applies the schema

Backups

Postgres holds everything that matters. Dump it on whatever schedule your check history is worth, and store the dump off the host — alongside your ENCRYPTION_KEY, without which encrypted provider secrets in that dump cannot be read.

BASHBackups
docker compose -f docker/docker-compose.yml --env-file .env \
  exec -T postgres sh -c 'pg_dump -U "$POSTGRES_USER" "$POSTGRES_DB"' > pulsy-backup.sql

No. The self-hosted build has no tiers, no feature flags gating capabilities, and no monitor limit. Every notification channel, status pages with custom domains, TLS-expiry alerting, incident tracking, and the full API are all on. Pulsy Cloud is operated by Pulsy; verify the destination release before migrating.

No. There is no key, no activation, and no phone-home. Clone, configure, and run — the software never contacts pulsy.org.

Whatever your host costs. Pulsy itself is free forever under AGPL-3.0. The stack fits on a small VPS; the only thing that grows over time is Postgres, and check-log retention is configurable.

Native JSON import/export transfers supported monitor configuration, not a full account backup. History, private request values, heartbeat tokens, publication settings and recipient addresses are excluded. Re-enter secrets and check destination compatibility before importing.

From wherever you deploy Pulsy. That is an advantage for monitoring internal or firewalled endpoints a hosted service cannot reach, and a limitation if you want multi-region vantage points — for that, deploy more than one instance.

Track Linux host CPU, RAM, swap, filesystem use, load and uptime alongside website checks. Sustained resource pressure and a disconnected agent become actionable incidents.

Create a server monitor, then run its one-command systemd installer or Docker Compose setup. The agent reports over outbound HTTPS; Linux amd64 and arm64 are supported.

Default thresholds are 90% for CPU, RAM and each filesystem: 3 violating reports to alert, 2 healthy reports to recover. Missing reports cause an outage after 3 intervals. RAM alerts are not confirmed OOM events.

Available on every Cloud plan. Each server uses one monitor slot. Reports default to 60 seconds, subject to the plan’s minimum interval; history follows plan retention.

Explore Linux server monitoring

Start with one website or Linux server. Understand the incident and know what to tell your customers.