Self-hosting

Evaluate an open source app before you self-host it

Deploying an open source application is quick. Carrying it for years for a client costs far more, and the bill lands on points you could have seen by looking first: a licence that forbids hosting for a third party, a project that no longer ships anything, a database that was never backed up, a major update with no way back. This guide gives an eight-criteria grid, each measurable with one or two commands, so you can score an application in thirty minutes and decide to deploy it, postpone it or refuse it.

12 min read9 steps
Contents· Why score before you deploy1/14
  1. 01Why score before you deploy
  2. 02The eight criteria, in the order they eliminate
  3. 03What you need at hand
  4. 04Score the application, criterion by criterion
  5. 05What reassures and what alerts, criterion by criterion
  6. 06Compute the score and decide
  7. 07Decision table
  8. 08"It's in the catalogue, so it must be good" and "I don't have time"
  9. 09When to walk away
  10. 10Five reasons to refuse without debate
  11. 11Troubleshooting: common mistakes in the evaluation
  12. 12Five traps, their symptom and their remedy
  13. 13Pin, then restore before you deliver
  14. 14A short grid beats an audit never done

Why score before you deploy

An application that starts in Docker is not necessarily one you can keep running. Between the first start and the client's third renewal, everything that matters happens off the project's home page: what the licence says, who answers vulnerabilities, what must be copied so nothing is lost, what breaks at the next major version.

An agency or a professional has no time for a full audit, and that is not what we ask here. The grid below has eight criteria. Each one is checked with commands you already know, the whole thing is scored in thirty minutes, and the score is reused for every client who asks for the same application. It does not replace a trial on a staging server: it decides whether the application deserves to get there.

The eight criteria, in the order they eliminate

  • Licence — what you are allowed to do for a client, before any technical question.
  • Project health — regular releases, issues that get handled, more than one person merging code.
  • Security — published advisories, a reporting channel, a readable fix turnaround.
  • Real resources — RAM, CPU, disk and side services measured, not read off the home page.
  • Backup and restore — knowing what to copy, and having restored it at least once.
  • Update path — pinned version, documented major migrations, a possible rollback.
  • Authentication and SSO — OIDC, SAML or LDAP available, and in which edition.
  • Cost of leaving — data export in an open format, with no hidden dependency.

What you need at hand

Plan thirty uninterrupted minutes and a workstation with git, the GitHub CLI gh logged in (gh auth login) and Docker with the Compose plugin. To measure consumption, a staging server with 2 vCPU, 4 GB of RAM and 20 GB of disk is enough for most web applications that need a database; an application that asks for more says so in its documentation, and that figure already counts as a signal.

In the commands below, OWNER/REPO is the application's upstream repository, the publisher's and not a template's. Keep an eight-row table open: a score of 0, 1 or 2 per criterion, and a "proof" column where you paste the command output.

Score the application, criterion by criterion

  1. Licence: read the file, not the banner

    Start with gh api repos/OWNER/REPO/license --jq .license.spdx_id. A standard identifier (MIT, Apache-2.0, GPL, AGPL) takes two minutes to read; NOASSERTION or other means you must open the LICENSE file by hand. The AGPL requires that, if you modify the application and offer it to users over a network, you offer those users the modified code. BSL and "fair-code" licences go further: they restrict commercial use or the resale of a hosted service, sometimes exactly what an agency does. This is not legal advice: a clause aimed at hosting for third parties scores 0 until you have read it in full.

  2. Project health: three commands

    Read gh api repos/OWNER/REPO --jq '{archived, pushed_at, open_issues_count}': an archived repository is disqualifying, an old pushed_at is a question mark. Then gh api repos/OWNER/REPO/releases --jq '.[0:5][].published_at' for the release cadence, and, inside a clone of the repository, git shortlog -sn --since="12 months ago" | head to see who writes the code. If a single person signs most commits, the project has a bus factor of one: score 1 at best. Also check whether issues get an answer, even a negative one.

  3. Security: the process matters more than the zero

    Run gh api repos/OWNER/REPO/security-advisories --jq 'length' to count published advisories, and look for a SECURITY.md file that says where to report a vulnerability. A project that publishes advisories and fixes them quickly is more reassuring than a silent one: no advisories does not prove no vulnerabilities. Score 2 if a reporting channel exists and dated fixes are visible, 1 if only the channel exists, 0 if there is nothing.

  4. Real resources: measure, don't read

    List what the application bundles with docker compose config --images and docker compose config --services: every database, cache or queue is one more service to back up and update. Start the stack on the staging server, import realistic data, wait ten minutes, then run docker stats --no-stream for memory and CPU, du -sh /var/lib/docker/volumes/* for volumes and docker system df for images. The memory of an empty database says nothing about a full one.

  5. Backup: inventory, then restore once

    List what carries state with docker compose config --volumes: database, uploaded files, encryption keys, configuration. Take a dump, for example docker compose exec -T db pg_dump -U utilisateur base > dump.sql, then bring up a second isolated stack with docker compose -p essai up -d and restore the dump into it. A backup that has never been restored is a hypothesis. Score 2 only if the restore actually worked on the trial stack.

  6. Update path: pin and read the notes

    Look at the tags the stack uses with docker compose images: a deployment on latest has no version to go back to. On staging, run docker compose pull, then read the latest release notes with gh api repos/OWNER/REPO/releases/latest --jq .body, looking for the words "breaking" and "migration". Database schemas rarely go back down: the real rollback is a dump taken before the update, paired with the old tag. Score 2 if major migrations are described and tags are precise.

  7. Authentication and SSO: the edition matters

    In a clone of the repository, use grep -rilE "oidc|saml|ldap" docs/ to find what the documentation says about OIDC, SAML or LDAP. Then check which edition includes them: SSO reserved for a paid plan is a cost you will meet again with every client that requires a central directory. For an agency, also look at how spaces are separated: accounts, organisations and roles.

  8. Cost of leaving: export before you enter

    Export a test dataset with the application's own tool, then open the result outside the application: SQL, CSV, JSON and raw files can be read anywhere, a proprietary format cannot. Look for dependencies that do not export: storage encrypted with a key you do not control, integrations that only live at the publisher. The day the client wants to leave, or the project stops, this criterion sets the price of the exit.

  9. Record the score and tie it to your other decisions

    Copy the eight scores, the total and each command's output into the team's shared table, with the date of the measurement. The number serves the decision, the trace serves next time. If the application comes from a SaaS you are leaving, cross this grid with the SaaS to self-hosting migration checklist, which covers moving the data and the switchover.

What reassures and what alerts, criterion by criterion

Scroll the table

CriterionReassuring signalWarning signal
LicenceRecognised standard licence, use for a third party explicitly allowedClause aimed at hosting for third parties, licence already changed once
Project healthRegular releases, triaged issues, several active maintainersArchived repository, distant last release, a single author
Security`SECURITY.md`, published advisories, dated fixesNo reporting channel, flaws fixed without advisories
ResourcesStable idle consumption, documented needsUndocumented needs, memory that climbs with no ceiling
BackupDatabase and volumes identified, restore already playedState inside the container, scattered data, no docs
UpdatePrecise tags, migration notes, rollback describedOnly `latest`, undocumented automatic migrations
SSOOIDC or SAML in the free editionSSO reserved for the paid plan, or absent
ExitComplete export in an open formatPartial export, proprietary format, key held by the publisher

Compute the score and decide

Score each criterion from 0 to 2: 2 for a reassuring signal proven by a command, 1 for a mixed signal or one you cannot verify, 0 for a warning signal. A criterion you could not verify never exceeds 1. The total is out of 16.

Two criteria hold a veto: a licence at 0 or a backup at 0 forbids deployment, whatever the total. A licence that does not let you serve a client is not offset by a good community, and data you cannot restore is offset by nothing.

Decision table

Scroll the table

Score out of 16DecisionWhat you do
13 to 16DeployPin the version, schedule the backup, go to production
9 to 12PostponeFix the criteria at 0 or 1 on staging, then score again
0 to 8RefuseOffer an alternative or a managed service instead
Licence or backup at 0VetoRefuse or postpone, even with a high total

"It's in the catalogue, so it must be good" and "I don't have time"

Two objections keep coming back. The first: if the application is in the catalogue, it must be reliable. A catalogue template is a deployment model for a VPS, a starting point that boots fast. It is not a maintenance guarantee: the application remains its upstream publisher's, with its licence, its release rhythm and its vulnerabilities. The catalogue saves you from writing the deployment recipe; it does not score the project for you.

The second: no time to audit. Thirty minutes weighs little against taking over an application that turns out to be unhostable for a client. And the score is done once per application: the same sheet serves all your clients, and is redone only at each major version.

When to walk away

Walking away is not a failure of the evaluation, it is its result. The cost of a forced migration in the middle of a client's life exceeds that of a refusal at the start. Refuse, or postpone until the point is cleared, in these cases:

Five reasons to refuse without debate

  • Incompatible licence — the clause forbids hosting for a third party, or its meaning stays unclear after reading.
  • Stalled project — archived repository, or no release and no answer to vulnerabilities for a long time on an exposed tool.
  • No possible restore — you cannot list what carries state, or the trial restore fails.
  • SSO required and missing — the client demands a central directory that only a paid plan from the publisher opens.
  • No way out — partial export or closed format: you get in without being able to get out.

Troubleshooting: common mistakes in the evaluation

These mistakes do not break the application on test day, they are paid for later. Each has a symptom and a remedy.

Five traps, their symptom and their remedy

  • The latest image breaks the application after docker compose pull — the moving tag jumped a major version and the database is no longer readable. Remedy: restore the dump taken before, put back the previous tag noted with docker compose images, then write a precise tag in the Compose file.
  • FATAL: role "app" does not exist during the dump — the user passed to pg_dump is not the stack's. Remedy: read the database variables in docker compose config and reuse that exact name, without guessing.
  • The database is backed up, the uploaded files are not — after a restore, attachments are missing. Remedy: rerun docker compose config --volumes, back up every volume that holds state, and replay the trial restore.
  • API rate limit exceeded with gh api — the CLI is not authenticated and the anonymous limit is quickly reached. Remedy: gh auth login, then rerun the grid's commands.
  • A licence that changes along the way — a recent version moves to a more restrictive licence than your initial deployment. Remedy: compare with git diff OLD_TAG NEW_TAG -- LICENSE before every major update, stay on the last tag under the old licence while you decide, and score the criterion again.

Pin, then restore before you deliver

Before putting the application in production for a client, write in the Compose file the precise tag noted with docker compose config --images, and replay a complete restore on a trial stack. Keep the score sheet in the agency's repository next to the Compose file: at the next update, you compare instead of rediscovering.

A short grid beats an audit never done

The grid does not claim to see everything. It quickly eliminates applications that will not hold up, and it leaves a dated trace of what you knew on the day you chose. To go deeper on the first criterion, read the guide to BSL and SSPL licences and the analysis of the n8n fair-code licence for agencies. Then browse the catalogue with the grid in hand: a deployment template saves time, and your score says whether the application deserves that time.

Share this articleservorbit.com/ma-en/blog/evaluate-open-source-app-before-self-hosting-checklist

Score first, deploy after

Prices shown excluding VAT, with their renewal price.