How-to Guides¶
How-to guides solve a specific, real-world problem. Unlike tutorials, which guide you through learning a concept step by step, how-to guides assume you already understand the basics and need a reliable recipe for a particular task.
Pick the guide that matches your situation. There are 24, grouped by theme.
Connect clients and publish¶
| Guide | Description |
|---|---|
| Client setup (APT / RPM / Maven / PyPI / npm) | Point apt/dnf/zypper/apk, mvn/Gradle, pip/twine, and npm at your Repod instance. |
| Container registry (Docker / OCI) | docker login/push/pull against Repod's built-in OCI registry, plus importing public images. |
| GPG signing keys: check, add and distribute | See which key signs your repository, what generating a new key does, and how to give the public key to client machines. |
Bring packages in¶
| Guide | Description |
|---|---|
| Import packages from external sources | Browse a public APT, RPM or APK source and import packages from it without uploading files manually. Maven, PyPI, npm and Docker images have their own importer, linked from the guide. |
| Upstream cache (air-gap) | Run a transparent pull-through cache for apt/dnf/apk clients, with an offline seeding workflow for air-gapped sites. |
| Security data updates (air-gap) | Keep the ClamAV, Grype, EPSS and CISA KEV databases current on a server with no internet access. |
| Migrate from Sonatype Nexus | Export your Nexus APT repository and import every package into Repod with a bulk upload script. |
| Migrate from JFrog Artifactory | Use the Artifactory REST API and AQL to download packages and re-host them in Repod. |
Control who can do what¶
| Guide | Description |
|---|---|
| Configure LDAP / Active Directory | Connect Repod to your organisation's LDAP or AD directory so users can log in with their existing credentials. |
| Configure OIDC / SSO login | Let users sign in through Keycloak, Entra ID, Okta or another OpenID Connect provider, and map their groups to Repod roles. |
| Enable MFA (TOTP) and the admin MFA policy | Turn on two-factor authentication for accounts, and require it for administrators after a grace period. |
| Restrict distribution and machine access | Limit which roles or groups can reach a distribution or an inventory machine. |
| Content filters (package allow/deny) | Block or allow packages by name, per distribution. |
| GDPR self-service (export / erasure) | Export a user's personal data, or erase it, from the account owner's side or an administrator's. |
Secure and audit the fleet¶
| Guide | Description |
|---|---|
| Fleet compliance scanning (CIS / STIG) | Score machines against the built-in CIS profile, and import and assign a DISA STIG profile. |
| Configuration drift detection | Define a YAML baseline (packages, services, files, permissions) and detect when a machine's real configuration diverges from it. |
| Maintenance windows for installs | Restrict when remote install jobs may run, per machine tag or per machine. |
| Enable dual-scan (Trivy cross-check) | Re-scan published packages with a second engine to catch what the first one missed (hosted service only). |
| Generate a NIS2 compliance report | Produce a PDF combining CVE exposure, decisions and fleet posture for an audit. |
Deploy and operate¶
| Guide | Description |
|---|---|
| Set up a reverse proxy | Terminate TLS in front of Repod with Nginx, Traefik, or Caddy. |
| Proxy configuration (restricted internet) | Route Repod's outbound calls (CVE feeds, signature updates, imports) through a corporate proxy, with a worked Squid example. |
| Back up and restore Repod | Schedule automated backups with backup.sh, copy them offsite, and follow the step-by-step restore procedure. |
| External PostgreSQL (install, harden, HA, backup) | Run Repod against a PostgreSQL server you manage yourself. |
| Deploy multi-replica high availability | Run several backend-api replicas against one database, with leader election and optional shared job state in Redis. |
How these guides are organised¶
Each guide is self-contained. You can read them in any order. Where a guide depends on another, it links to it explicitly. Code blocks show every command you need to run; admonitions call out warnings, tips, and important notes.
Can't find what you need?
If none of the guides above covers your situation, write to [email protected] and describe your use case.