The guides to running Forge and publishing to it. They are also a site, with navigation and search: https://forgepkg.github.io/forge/.
The README says what Forge is and starts a first instance in its quickstart; DEVELOPMENT.md is the guide to working on Forge itself.
- Production deployment: required settings, TLS and the reverse proxy, secret encryption, health probes, backup and restore, and upgrades.
- Helm chart: the chart published with every release: which image it runs, its values, short-lived S3 credentials, routing, optional dependencies and telemetry.
- Kubernetes manifests: the kustomize base, components and overlays, for production and for an evaluation.
- Monitoring: an example OpenTelemetry Collector configuration, Grafana dashboard and Prometheus alerting rules.
- Retention: every retention rule with examples (age, downloads, superseded prereleases, unlisted versions, version and tag patterns, keep-N), cron schedules in a time zone with a time limit per run, and size budgets.
- Package delay: a proxy's dependency cooldown for new upstream releases, other delays for some packages (by content selector or pattern), and releasing one version early.
- Importing repositories: copy a hosted repository of another server (a NuGet feed, an npm registry, a registry, a raw repository, an apt repository: Nexus, Artifactory, Verdaccio, a web server, another Forge) into Forge, with its publish dates.
- Importing from Nexus: where Nexus serves its feeds, registries, apt repositories and raw files, its search's limits, and imports stored before 2.2.
- apt repositories: Debian and Ubuntu packages for
apt:.debuploads, signed indexes and key rotation,sources.listandauth.conf.d, proxies of Debian and Ubuntu mirrors. - Docker / OCI registry: image repositories (hosted, proxy,
group), naming,
docker login, retention and garbage collection. - npm registries: npm packages for npm, pnpm, Yarn and Bun:
.npmrc, logins, publishing, dist-tags, proxies ofregistry.npmjs.organd audits. - NuGet feeds:
dotnet,nuget.exeand Visual Studio:dotnet nuget add source,NuGet.configcredentials, logins, pushes with an API key, unlisting. The CI guides below publish to a feed. - Raw file repositories: files under arbitrary paths: logins, uploads with curl, ranges and checksum sidecars, listings, and proxies of release downloads.
- Format crates: how every format is built: the
FormatSpeccontract, what the server does for each format, and adding a new one.
- Trusted publishing: short-lived workload identity for GitHub Actions, GitLab CI and other OIDC issuers, and the exchange of a job's token for an API key.
- GitLab CI with workload identity: step by step, every job of a GitLab project restores from Forge, and only the release job pushes. No secret in GitLab.
- CI with service accounts: for pipelines that cannot use workload identity, a read token and a release token in GitLab's CI/CD variables.