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
Project health: three commands
Read
gh api repos/OWNER/REPO --jq '{archived, pushed_at, open_issues_count}': anarchivedrepository is disqualifying, an oldpushed_atis a question mark. Thengh 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" | headto 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.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 aSECURITY.mdfile 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.Real resources: measure, don't read
List what the application bundles with
docker compose config --imagesanddocker 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 rundocker stats --no-streamfor memory and CPU,du -sh /var/lib/docker/volumes/*for volumes anddocker system dffor images. The memory of an empty database says nothing about a full one.Backup: inventory, then restore once
List what carries state with
docker compose config --volumes: database, uploaded files, encryption keys, configuration. Take a dump, for exampledocker compose exec -T db pg_dump -U utilisateur base > dump.sql, then bring up a second isolated stack withdocker compose -p essai up -dand 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.Update path: pin and read the notes
Look at the tags the stack uses with
docker compose images: a deployment onlatesthas no version to go back to. On staging, rundocker compose pull, then read the latest release notes withgh 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.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.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.
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
| Criterion | Reassuring signal | Warning signal |
|---|---|---|
| Licence | Recognised standard licence, use for a third party explicitly allowed | Clause aimed at hosting for third parties, licence already changed once |
| Project health | Regular releases, triaged issues, several active maintainers | Archived repository, distant last release, a single author |
| Security | `SECURITY.md`, published advisories, dated fixes | No reporting channel, flaws fixed without advisories |
| Resources | Stable idle consumption, documented needs | Undocumented needs, memory that climbs with no ceiling |
| Backup | Database and volumes identified, restore already played | State inside the container, scattered data, no docs |
| Update | Precise tags, migration notes, rollback described | Only `latest`, undocumented automatic migrations |
| SSO | OIDC or SAML in the free edition | SSO reserved for the paid plan, or absent |
| Exit | Complete export in an open format | Partial 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 16 | Decision | What you do |
|---|---|---|
| 13 to 16 | Deploy | Pin the version, schedule the backup, go to production |
| 9 to 12 | Postpone | Fix the criteria at 0 or 1 on staging, then score again |
| 0 to 8 | Refuse | Offer an alternative or a managed service instead |
| Licence or backup at 0 | Veto | Refuse 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
latestimage breaks the application afterdocker 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 withdocker compose images, then write a precise tag in the Compose file. FATAL: role "app" does not existduring the dump — the user passed topg_dumpis not the stack's. Remedy: read the database variables indocker compose configand 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 exceededwithgh 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 -- LICENSEbefore 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.
servorbit.com/ma-en/blog/evaluate-open-source-app-before-self-hosting-checklist


