Files
coder/docs/install/prepare
Nick Vigilante 1465f64d86 docs: list what air-gapped templates and workspaces download (#32457)
## Summary

List what a default deployment and the Docker and Kubernetes starter
templates download from the internet, what fails when each download is
blocked, and the offline replacement for each.
The most common place an air-gapped install stalls is the first
workspace build, not the control plane, and the air-gapped deployments
page didn't cover it.

Refs [DOCS-1782](https://linear.app/codercom/issue/DOCS-1782).

## Changes

All changes are in `docs/install/prepare/airgap.md`.

- **Component table:**
- Fixes the PostgreSQL row: the built-in database downloads from
`repo.maven.apache.org` (`cli/server.go`), not `repo1.maven.org`.
- Adds four rows: trial license (`v2-licensor.coder.com`), the access
URL tunnel (`*.try.coder.app`), the default GitHub sign-in and external
auth providers, and the template builder (`registry.coder.com`).
- **New section, "What templates and workspaces download":** a table for
the Docker and Kubernetes starter templates that covers Terraform
providers, Coder Registry modules, JetBrains IDE version lookups, the
workspace image and `image_pull_policy = "Always"`, code-server, and
code-server extensions.
- **Firewall exceptions:** the old list said code-server.dev was
"install via Arch User Repository (AUR)" and v2-licensor.coder.com was
for "developing Coder in Coder".
The new list separates what the Coder server and provisioners reach from
what workspaces reach, and adds `registry.coder.com`.

## Notes for review

- **Base:** this branch is based on `main`, not stacked on #31869.
`main` has changed this page six times since #31869 branched, including
the table rows and the firewall section this PR edits.
#31869 adds only two lines to this page, in the Kubernetes tab, which
this PR doesn't touch, so the two shouldn't conflict.
- **Not covered:** templates other than the Docker and Kubernetes
starters, AI features, and IDE marketplaces beyond the existing
JetBrains and VS Code sections.
The page tells readers to check their own templates for the same kinds
of downloads.
- **Follow-up:** once this merges, the install landing page in #32405
can link the new section's anchor instead of the top of the page.

## Testing

- `make fmt/markdown` and `make lint/emdash lint/docs-html
lint/markdown`: all pass.
- Vale on `airgap.md`: 0 errors, 0 warnings, 0 suggestions.
- A relative link and anchor check on the page: no broken links.
- doc-check skill in author self-check mode. I fixed its four blocking
findings: the providers row was missing `hashicorp/http`, the JetBrains
IDE version lookup was missing, the page wrongly said that creating a
template from a starter works offline, and it used "the Coder server"
instead of "the control plane". The firewall intro is now narrowed to
what the list covers.

<details>
<summary>Evidence for each new claim</summary>

| Claim | Source |
|---|---|
| Built-in PostgreSQL downloads from `repo.maven.apache.org` |
`cli/server.go`,
`BinaryRepositoryURL("https://repo.maven.apache.org/maven2")` |
| A trial requests a license from `v2-licensor.coder.com` |
`enterprise/trialer/trialer.go` (`LicenseRequestURL`), called from
`coderd/users.go` when the first user starts a trial |
| No access URL means a tunnel through a Coder-hosted server |
`cli/server.go` (`devtunnel.New` when `AccessURL` is empty),
`wg-tunnel-host` flag description |
| Default GitHub sign-in and external auth providers on new deployments
| `cli/server.go`, `getGithubOAuth2ConfigParams` and
`maybeAppendDefaultGithubExternalAuthProvider`, which apply only when no
users exist at first start and no explicit providers are set |
| Template builder resolves modules from `registry.coder.com` |
`codersdk/deployment.go`, template builder registry default |
| Starter templates ship in the binary | `examples/examples.go`,
`//go:embed` |
| Docker starter: `kreuzwerker/docker`, `code-server` and `jetbrains`
modules, `codercom/example-base:ubuntu` |
`examples/templates/docker/main.tf` |
| Kubernetes starter: `hashicorp/kubernetes`, `curl` of
`code-server.dev/install.sh`, `image_pull_policy = "Always"` |
`examples/templates/kubernetes/main.tf` |
| The `jetbrains` module needs `hashicorp/http` and looks up IDE
versions from `data.services.jetbrains.com` unless `ide_config` is set |
coder/registry `registry/coder/modules/jetbrains/main.tf` |
| Provider downloads come from `github.com` (`coder/coder`,
`kreuzwerker/docker`) and `releases.hashicorp.com`
(`hashicorp/kubernetes`, `hashicorp/http`) |
`registry.terraform.io/v1/providers/<provider>/<version>/download/linux/amd64`
responses |
| Creating a template from a starter still runs `terraform init` |
`coderd/templateversions.go` creates an import job, which
`provisioner/terraform/provision.go` initializes |
| `code-server` module offline mode runs
`${install_prefix}/bin/code-server` and can't install extensions |
coder/registry `registry/coder/modules/code-server/main.tf` and `run.sh`
(v1.6.0) |
| code-server's install script downloads from GitHub |
`https://code-server.dev/install.sh` (api.github.com and github.com
releases) |

</details>

---

_This PR was generated by Coder Agents on behalf of @nickvigilante._
2026-11-24 12:44:26 -05:00
..