Self-host Kener on a managed VPS: your own status page

To self-host Kener on a managed VPS is to publish the status of your sites and services from a server of your own, which our teams keep up to date and monitor day and night. Kener is a free, open source status page under the MIT license, with monitors, incidents, maintenance windows and notifications. This guide follows its official Docker image at version v4.2.2, and we ran every command on a Simafri VPS before writing it: installation with Docker Compose, PostgreSQL and Redis, HTTPS, the first account, a first monitor, backups and updates.

Simon Vasconcelos Lee By Published on 24 November 202611 minute read

All guides

In short

  1. The MIT license lets you run Kener for your company, your clients or your community with no license to buy.
  2. Install it with Docker Compose: the image rajnandan1/kener, Redis, which Kener requires, and PostgreSQL, which its documentation recommends for production, with port 3000 published on 127.0.0.1 behind an HTTPS reverse proxy.
  3. Put the database password and KENER_SECRET_KEY in a .env file, and set ORIGIN to your public address: without it, every form is refused.
  4. The first account created on the sign-in page becomes the owner, with the admin role; Kener then closes that form on its own.
  5. Create monitors in the dashboard or through the /api/v4 API, back up with pg_dump, then update by changing the image tag.

What Kener does

Kener is a status page system written with SvelteKit and Node.js by Raj Nandan Sharma. Its name comes from the Assamese word “Kene”, “how’s it going?”. A single Node.js process serves the public pages and the dashboard, runs the checks on a schedule and sends the alerts, with Redis for its job queues.

What the MIT license allows

Kener is published under the MIT license. You can use it free of charge, for your company or for your clients, copy it, modify it and redistribute it, as long as the copyright notice and the license text stay with the code. The software is provided without warranty. There is no paid edition: the image you install is the whole product.

The resources to plan for

The documentation recommends 1 vCPU and 1 GB of memory for the application up to about 100 monitors, 2 vCPU and 2 GB beyond, and 512 MB to 1 GB for PostgreSQL. Here is what we measured on our test VPS, with a few monitors checked every minute:

Server size therefore depends on the number of monitors, their frequency and the other applications you run beside Kener. A status page is most useful on a different server from the services it watches: if they stop together, it can still tell your users. On a managed VPS, tell us about your usage and we will recommend the right size.

Installing with Docker Compose

Kener ships as a single image, rajnandan1/kener, also published as ghcr.io/rajnandan1/kener, which listens on port 3000. It needs Redis, and stores its data in SQLite by default, or in PostgreSQL or MySQL. On a server with Docker Engine and its Compose plugin, installed from Docker’s repository for Ubuntu, create the folder /opt/kener:

Terminal
mkdir -p /opt/kener

Put this compose.yaml in it, based on the official docker-compose.yml with its PostgreSQL service turned on:

compose.yaml
services:
  redis:
    image: redis:7-alpine
    restart: unless-stopped
    volumes:
      - redis_data:/data
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 10s
      timeout: 5s
      retries: 5

  postgres:
    image: postgres:18-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: kener
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}
      POSTGRES_DB: kener
    volumes:
      - postgres_data:/var/lib/postgresql
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U kener -d kener"]
      interval: 10s
      timeout: 5s
      retries: 5

  kener:
    image: rajnandan1/kener:v4.2.2
    restart: unless-stopped
    environment:
      KENER_SECRET_KEY: ${KENER_SECRET_KEY:?set KENER_SECRET_KEY in .env}
      ORIGIN: https://status.example.com
      REDIS_URL: redis://redis:6379
      DATABASE_URL: postgresql://kener:${POSTGRES_PASSWORD}@postgres:5432/kener
    ports:
      - "127.0.0.1:8125:3000"
    volumes:
      - kener_data:/app/database
    depends_on:
      redis:
        condition: service_healthy
      postgres:
        condition: service_healthy

volumes:
  kener_data:
  redis_data:
  postgres_data:

The two secrets go in a .env file next to it, which Docker Compose reads on its own. Create it readable by root only, then start the stack, from /opt/kener:

Terminal, in /opt/kener
umask 077
printf 'POSTGRES_PASSWORD=%s\nKENER_SECRET_KEY=%s\n' "$(openssl rand -hex 24)" "$(openssl rand -base64 32)" > .env
umask 022
docker compose up -d
docker compose ps

At its first start, Kener creates its tables and adds a home page with two demonstration monitors; on our test VPS, it answered in under 30 seconds. To check that it responds:

Terminal, in /opt/kener
curl -s http://127.0.0.1:8125/healthcheck
docker compose logs kener | grep "Kener version"

The first command returns {"status":"ok","db":true,"redis":true}, and the second, Kener version 4.2.2 is running!.

HTTPS: the reverse proxy

The container serves Kener over HTTP. HTTPS is handled by a reverse proxy in front of it, which must forward the public Host header. We tested Caddy, installed from its official Debian and Ubuntu repository: it obtains the Let’s Encrypt certificate itself, renews it, and forwards that header by default. Add this block to its configuration:

/etc/caddy/Caddyfile
status.example.com {
	reverse_proxy 127.0.0.1:8125
}
Terminal, as root
systemctl reload caddy
curl -sI https://status.example.com/
curl -fsS https://status.example.com/healthcheck

The first account

Kener has no default account. As long as nobody has signed up, its sign-in page offers to create the administrator:

  1. Open https://status.example.com/account/signin: the page shows “Create Admin Account”.
  2. Enter your name, your email and a password of at least 8 characters, with a digit, a lowercase and an uppercase letter.
  3. Create the account: Kener signs you in and opens the dashboard, on its site settings.

This first account is the owner, with the admin role, and it cannot be deactivated. The form closes as soon as it exists: on our test VPS, a second sign-up was refused with “Set up already done”, a wrong password was refused at sign-in, and the right one opened the dashboard.

Your other users come by invitation, from Manage, Users, with the admin, editor or member role or roles of your own. Invitations are sent by email, so set up SMTP or Resend first (the SMTP_* or RESEND_* variables of the email setup page). Kener also supports OpenID Connect, for signing in with your company accounts.

The first monitor and the status page

A monitor checks one service on a schedule, written as a cron expression: every minute with * * * * *. From the dashboard:

  1. Open Monitors, then New Monitor.
  2. Give it a tag, its unique identifier in lowercase such as website, a name, and the type “API”.
  3. Under the configuration, enter the address to check and the schedule.
  4. Under Page Visibility, add it to at least one page: a monitor on no page stays off the public status page.

The same can be done through the API. Create a key under API Keys: Kener shows it only once, and every key has full access, so treat it like an administrator password. With the key in a KENER_API_KEY variable, these two requests create a monitor of https://example.com, checked every minute, then make it the only monitor of the home page, addressed as ~home:

Terminal
curl -s -X POST https://status.example.com/api/v4/monitors \
  -H "Authorization: Bearer $KENER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tag":"website","name":"Website","monitor_type":"API","cron":"* * * * *","type_data":{"url":"https://example.com","method":"GET","timeout":10000}}'
curl -s -X PATCH https://status.example.com/api/v4/pages/~home \
  -H "Authorization: Bearer $KENER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"monitors":["website"]}'

The list sent to the page replaces the previous one, which also takes the two demonstration monitors off the home page. Delete them from Monitors if you do not need them: one of them checks the Kener project’s own site every minute.

On our test VPS, the first checks were recorded the next minute, UP in about 55 ms, and the status badge of the monitor already said “Operational”:

Terminal
curl -s https://status.example.com/badge/website/status

A monitor can make Kener send requests to any address the server can reach, internal ones included, and it can read the server’s environment variables through $VARIABLE substitution. Give the monitors.write permission, which the editor role includes, only to people you trust.

Backups

Everything lives in the PostgreSQL database: monitors and their history, incidents, pages, users, API keys and uploaded images. Redis only holds job queues and a cache, which Kener rebuilds at startup. Next to the database, keep compose.yaml and .env: with another KENER_SECRET_KEY, the sessions and API keys stored in the database no longer work. The PostgreSQL image includes pg_dump. The dump holds every account and key, so create it readable by root only, with umask 077 inside parentheses: the rest of your session keeps its usual mask. A file that already exists keeps its permissions when it is overwritten, so the find line first closes the copies already in the folder, before anything is written, and stops the backup if it cannot:

Terminal, in /opt/kener
(
  umask 077
  find . -maxdepth 1 \( -name 'kener-*.dump' -o -name 'kener-config-*.tar.gz' \) -exec chmod 600 {} + || exit 1
  docker compose exec -T postgres pg_dump -U kener -Fc kener > kener-$(date +%F).dump
  tar czf kener-config-$(date +%F).tar.gz compose.yaml .env
)

Schedule this copy and send it off the server. Stored on the disk, the dumps are also included in the server’s nightly backups.

Restoring

On the same or a new installation, with the same .env, stop Kener, replace the database with an empty one, load the dump into it, then start Kener again:

Terminal, in /opt/kener
docker compose stop kener &&
docker compose exec -T postgres dropdb -U kener kener &&
docker compose exec -T postgres createdb -U kener kener &&
docker compose exec -T postgres pg_restore -U kener -d kener --exit-on-error --no-owner < kener-2026-11-20.dump &&
docker compose start kener

We tested the whole cycle on our VPS with these exact commands: dump, a monitor added after it, the database deleted and created again empty, restore. The account, the API key, the website monitor and its first checks came back, the monitor added after the dump was gone, and the administrator signed in again at once.

Updates

Kener is released often, sometimes several times a month, with a changelog page for each version. Read it, take a backup, change the image tag in compose.yaml, then pull the new image and recreate the container. The database migrations run on their own at startup:

Terminal, in /opt/kener
sed -i "s|image: rajnandan1/kener:v4.2.1|image: rajnandan1/kener:v4.2.2|" compose.yaml
docker compose pull
docker compose up -d
docker compose logs kener | grep -E "Migrations|Kener version"

Who does what on a managed VPS

Self-hosting means running the server on top of the application. On a managed VPS, our teams take charge of the server and proactively monitor your instance; Kener remains your software, with your monitors and your pages.

TopicOur teamsYou
The serverSystem and security updates, server interventions includedThe timing that suits you
MonitoringServer monitored 24/7, with intervention without waiting for your callYour monitors, incidents and status pages in Kener
KenerProactive monitoring: errors, slowdowns, database and disk space spotted, fix recommendedIts installation, updates, alerts and settings, which you apply, yourself or through your AI assistant
UsersThe server that carries them, monitored and backed upAccounts, roles, invitations and single sign-on
BackupsEvery night, encrypted and kept off the machine; restores includedKener’s own database dumps, and the restore request, when you need one
MigrationYour current server migrated, free of chargeThe timing of the switch

If you would rather have our teams work inside the application itself, that service is billed by the hour or at a fixed rate, with an estimate shared before the work starts.

Kener, on a server run for you

With a Simafri Managed VPS, our teams keep your Kener instance’s server up to date, monitor it day and night and step in without waiting for your call; they also proactively monitor your instance and recommend useful fixes, which you apply, yourself or through your AI assistant. Backups are encrypted every night and kept off the machine, restores are included, and migrating your current server is free.

Explore Managed VPS

Frequently asked questions

Is Kener free?

Yes. Kener is under the MIT license: you can run it for your company or your clients with no license to buy, and there is no paid edition. What remains is the cost of the server that runs it.

How do I install Kener with Docker Compose?

Use the rajnandan1/kener image with Redis and PostgreSQL in a compose.yaml. Put the database password and KENER_SECRET_KEY in a .env file, set ORIGIN to your https address, publish port 3000 on 127.0.0.1, run docker compose up -d, and put an HTTPS reverse proxy in front.

Does Kener need Redis?

Yes. Kener uses Redis for its job queues, its cache and its scheduler, and it does not start without REDIS_URL. A redis:7-alpine container in the same compose.yaml is enough, and it uses under 10 MB of memory.

What is the default Kener login?

There is none. Open /account/signin on a new instance: the page offers to create the admin account, which becomes the owner. The form then closes, and the other users come by email invitation, from Manage, Users.

Why are Kener forms refused with “Cross-site POST form submissions are forbidden”?

Because ORIGIN does not match the address in your browser. Set it to your public address, with https:// and no trailing slash, then run docker compose up -d.

How much memory does Kener need?

The documentation recommends 1 GB for the application up to about 100 monitors. On our test VPS, Kener used about 270 to 440 MB, PostgreSQL 40 to 70 MB and Redis under 10 MB, and the three images take about 730 MB of disk.

How do I back up Kener?

Dump the PostgreSQL database with docker compose exec -T postgres pg_dump -U kener -Fc kener under umask 077, and keep a copy of compose.yaml and .env. To restore, stop Kener, recreate the database empty with dropdb and createdb, then load the dump with pg_restore --exit-on-error --no-owner.

How do I update Kener?

Read the changelog and take a backup, change the image tag in compose.yaml, then run docker compose pull and docker compose up -d. The database migrations run on their own at startup.

Does a managed VPS cover Kener?

A managed VPS covers the server: system, security, monitoring and backups. Our teams also proactively monitor your instance and recommend useful fixes, which you apply. Work inside the application is billed by the hour or at a fixed rate.

Contact us