To self-host ChiefOnboarding on a managed VPS is to keep the onboarding of your new hires, and the personal data that comes with it, on a server of your own, which our teams keep up to date and monitor day and night. ChiefOnboarding is a free, open source employee onboarding platform under the AGPL-3.0 license, used from its dashboard or through Slack. This guide follows its official Docker image at version v2.5.2, and we ran every command on a Simafri VPS before writing it: installation with Docker Compose and PostgreSQL, HTTPS, the first account, backups, a restore and an update.
By Simon Vasconcelos Lee
Published on 2 December 202611 minute read
chiefonboarding/chiefonboarding and PostgreSQL 18, with port 8000 published on 127.0.0.1 behind an HTTPS reverse proxy.SECRET_KEY in a .env file, and set ALLOWED_HOSTS to your domain: ChiefOnboarding builds its HTTPS address from it.pg_dump and a copy of .env. To update, change the image tag: the container applies the database migrations itself when it starts.ChiefOnboarding is an employee onboarding platform written in Python with Django, developed in the open on GitHub since 2020. It guides each new hire from before their first day until they are up to speed, with the same content available in a web dashboard and through a Slack bot.
The interface speaks English, Dutch, French, German, Turkish, Portuguese, Japanese, Spanish and Czech, and each new hire has their own time zone, so that messages arrive during their day.
ChiefOnboarding is published under the GNU Affero General Public License, version 3 (AGPL-3.0). You can use it free of charge, for your company or your clients, copy it and modify it. If you modify it and let other people use it over a network, you offer them the source code of your version under the same license. The software is provided without warranty.
Its author also sells a hosted version and a paid support package. Nothing in this guide needs them.
The documentation sets no minimum. Here is what we measured on our test VPS, after the installation, the setup and a first sequence:
Server size therefore depends on the number of new hires and on the other applications you run beside ChiefOnboarding. On a managed VPS, tell us about your usage and we will recommend the right size.
The official image, chiefonboarding/chiefonboarding, contains the application and its scheduler, both started by Supervisor. On each start, it collects the static files and applies the database migrations before serving requests. It needs PostgreSQL beside it. On a server with Docker Engine and its Compose plugin, installed from Docker’s repository for Ubuntu, create a folder such as /opt/chiefonboarding and put this compose.yaml in it, based on the Docker deployment page of the documentation:
services:
db:
image: postgres:18
restart: unless-stopped
environment:
POSTGRES_DB: chiefonboarding
POSTGRES_USER: chiefonboarding
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}
volumes:
- pgdata:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U chiefonboarding -d chiefonboarding"]
interval: 10s
timeout: 5s
retries: 10
web:
image: chiefonboarding/chiefonboarding:v2.5.2
restart: unless-stopped
ports:
- "127.0.0.1:8115:8000"
environment:
SECRET_KEY: ${SECRET_KEY:?set SECRET_KEY in .env}
DATABASE_URL: postgres://chiefonboarding:${POSTGRES_PASSWORD}@db:5432/chiefonboarding
ALLOWED_HOSTS: chiefonboarding.example.com
depends_on:
db:
condition: service_healthy
volumes:
pgdata:
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:
umask 077
printf 'POSTGRES_PASSWORD=%s\nSECRET_KEY=%s\n' "$(openssl rand -hex 24)" "$(openssl rand -hex 32)" > .env
umask 022
docker compose up -d
docker compose ps
127.0.0.1, here as port 8115 of the server: the examples of the documentation expose it to a Caddy container or publish it on every address. Published locally, ChiefOnboarding is reachable only through the reverse proxy.postgres as the database password and somethingsupersecret as SECRET_KEY, the key Django signs sessions and tokens with. Hexadecimal needs no escaping in DATABASE_URL. Keep the key secret, and keep it stable: with another key, every user is signed out.chiefonboarding, instead of postgres.ALLOWED_HOSTS is your domain. ChiefOnboarding answers only to the names listed there, and builds its public address and its trusted origin from the first one, with https://. Session and CSRF cookies are marked secure by default, which we checked on our test VPS.postgres:latest, which was PostgreSQL 18 when we tested, as in the project’s own test suite. From version 18, the image keeps its data in a subfolder named after the version, so the volume is mounted on /var/lib/postgresql.latest. A full version, here v2.5.2, lets you choose when each update happens.pgdata holds the whole database: users, sequences, templates, sessions and settings.On our test VPS, the first start applied the migrations and ChiefOnboarding answered about ten seconds after its container started. Its health address answers ok on any host name, which makes it handy to wait for:
until curl -sf http://127.0.0.1:8115/health >/dev/null; do sleep 5; done
curl -s http://127.0.0.1:8115/health; echo
The container serves ChiefOnboarding over HTTP, on port 8115 of the server. 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 the headers by default.
chiefonboarding.example.com {
reverse_proxy 127.0.0.1:8115
}
sudo systemctl reload caddy
X-Forwarded-For, which Caddy sets to the real client and does not accept from outside.To check the result from the server:
curl -sI https://chiefonboarding.example.com/
Before the first account exists, the answer is a 302 to /setup/, from Gunicorn through Caddy.
ChiefOnboarding needs no email to get started: the first administrator is created from a setup page, not from an invitation. Open your address in a browser right after reloading Caddy. You land on /setup/, with two parts:
The setup page is open to anyone until it has been filled in. Do it as soon as your domain answers. Once the organization exists, the page answers 404, which we checked on our test VPS.
You are then sent to the login page, where you sign in with the email address and password you chose. The setup also loads demo content, which the documentation invites you to delete when you no longer need it: a “General sequence”, sample templates and a demo new hire, John, whose password is disabled.
On our test VPS, we then created an onboarding sequence, with the same requests as the Sequences page of the dashboard, and named it “Engineering onboarding (Simafri test)”. This command lists the sequences straight from the database, a quick way to check what a backup contains:
docker compose exec -T db psql -U chiefonboarding -d chiefonboarding -c "SELECT id, name FROM sequences_sequence ORDER BY id"
EMAIL_HOST, EMAIL_PORT, EMAIL_HOST_USER, EMAIL_HOST_PASSWORD, EMAIL_USE_TLS: "True" and DEFAULT_FROM_EMAIL to the environment of the web service, the password in .env. The documentation also covers Postmark, Mailgun, Mailjet, Mandrill, SendGrid and Sendinblue. On a Simafri VPS, applications send through an authenticated SMTP relay on port 587, which also gives your email the best deliverability.AWS_ variables of the object storage page. Our test VPS had none: everything in this guide works without it, and uploads need it.Everything ChiefOnboarding keeps on the server lives in the PostgreSQL database; your .env file holds the two secrets, and uploaded files stay with your object storage provider. The PostgreSQL image includes pg_dump. Make the copy readable by root only:
(
umask 077
find . -maxdepth 1 \( -name 'chiefonboarding-*.dump' -o -name 'env-*.bak' \) -exec chmod 600 {} + || exit 1
docker compose exec -T db pg_dump -U chiefonboarding -Fc chiefonboarding > chiefonboarding-$(date +%F).dump
cp .env env-$(date +%F).bak
)
umask 077 for these commands only, so the dump and the copy of .env are created readable by root alone.find line tightens the files of an earlier run of the same day, since a redirection that overwrites a file keeps its old permissions.-Fc) is compressed, and restored with pg_restore.Schedule this copy and send it off the server. Stored on the disk, the dumps are also included in the server’s nightly backups.
On the same or a new installation, with the same .env, stop the application, replace the database with an empty one, load the dump into it, then start the application again:
docker compose stop web &&
docker compose exec -T db dropdb -U chiefonboarding chiefonboarding &&
docker compose exec -T db createdb -U chiefonboarding chiefonboarding &&
docker compose exec -T db pg_restore -U chiefonboarding -d chiefonboarding --exit-on-error --no-owner < chiefonboarding-2026-11-20.dump &&
docker compose start web
pg_restore reported relation "account_emailaddress" already exists and returned an error code.--exit-on-error stops the restore at the first error, instead of carrying on and reporting the errors at the end, and the && stop the sequence there: ChiefOnboarding stays stopped. What was loaded before the error remains in the database, so start again from dropdb once the cause is fixed.We tested the whole cycle on our VPS: a dump taken with the “Engineering onboarding (Simafri test)” sequence, a second sequence created after it, then the database dropped, created again and restored. The query above listed the first sequence and no longer the second, the administrator signed in again with the same password, and the sessions open before the restore were still valid, since they are stored in the database.
ChiefOnboarding publishes its releases on GitHub, with a changelog, and the image follows on Docker Hub with the same tags. This guide pins v2.5.2, the latest release when we tested it: check the releases page for a newer one before you install. Take a backup, change the image tag of the web service in compose.yaml, then pull the new image and recreate the container:
docker compose pull
docker compose up -d
docker compose logs web | grep -E "Applying|No migrations to apply"
users.0044_user_ordering on its start, and the sequence created on v2.5.1 was there in v2.5.2, with the same administrator.docker compose up -d recreates the container whose image changed, which comes to the same thing.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; ChiefOnboarding remains your software, with your data and your settings.
| Topic | Our teams | You |
|---|---|---|
| The server | System and security updates, server interventions included | The timing that suits you |
| Monitoring | Server monitored 24/7, with intervention without waiting for your call | Your sequences, your new hires and your settings in ChiefOnboarding |
| ChiefOnboarding | Proactive monitoring: errors, slowdowns, database and disk space spotted, fix recommended | Its installation, updates, integrations and settings, which you apply, yourself or through your AI assistant |
| Users | The server that carries them, monitored and backed up | Administrators, managers and new hires, and their permissions |
| Backups | Every night, encrypted and kept off the machine; restores included | ChiefOnboarding’s own database dumps, and the restore request, when you need one |
| Migration | Your current server migrated, free of charge | The 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.
With a Simafri Managed VPS, our teams keep your ChiefOnboarding 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.
Yes. ChiefOnboarding is under the AGPL-3.0 license: you can run it for your company or your clients with no license to buy. Its author also sells a hosted version and paid support. What remains is the cost of the server that runs it.
Use the chiefonboarding/chiefonboarding image and PostgreSQL 18 in a compose.yaml. Put the database password and SECRET_KEY in a .env file, set ALLOWED_HOSTS to your domain, publish port 8000 on 127.0.0.1, run docker compose up -d, and put an HTTPS reverse proxy in front.
Open your domain after the first start: ChiefOnboarding redirects to /setup/, where you enter your organization, then your name, email address and password. No email is sent. The page closes once the organization exists, so fill it in right away.
Not to start: the first account is created from the setup page. To send welcome emails, reminders and password resets, set an SMTP relay with the EMAIL_ variables, or one of the email providers the documentation lists.
On our test VPS, the ChiefOnboarding container used about 250 to 300 MB, with Gunicorn and the scheduler, and PostgreSQL about 40 to 60 MB. The two images take about 1.7 GB of disk.
Dump the database with pg_dump in the custom format from the PostgreSQL container, under umask 077, and keep a copy of your .env file. To restore, stop the web service, drop and create the database, load the dump with pg_restore --exit-on-error, then start web again.
Take a backup, change the image tag in compose.yaml, then run docker compose pull and docker compose up -d. The container applies the database migrations itself when it starts.
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.
Simafri
Let's talk about your project
Tell us what you need in a few words: we will get back to you quickly.
Thank you! Your request has been sent. We'll get back to you shortly.
Prefer email? Write to us at support@simafri.com.