Skip to content

Commit 2f2ad2f

Browse files
committed
docs: Address review feedback
- Remove redundant 'Coder Modules' section as requested - Update directory structure to reflect registry/namespace/modules/module-name format - Make Git source paths more explicit with proper registry structure Addresses review comments from @matifali
1 parent c5fa0d9 commit 2f2ad2f

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

docs/install/offline.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -244,22 +244,24 @@ Coder Registry modules from [registry.coder.com](https://registry.coder.com) pro
244244
Mirror registry modules in an internal Git repository:
245245

246246
1. **Download modules** from [registry.coder.com](https://registry.coder.com) while connected to the internet
247-
2. **Store modules** in your internal Git repository:
247+
2. **Store modules** in your internal Git repository using the registry structure:
248248

249249
```text
250250
internal-registry/
251-
├── modules/
252-
│ ├── code-server/
253-
│ ├── cursor/
254-
│ └── vscode-web/
251+
├── registry/
252+
│ └── coder/
253+
│ └── modules/
254+
│ ├── code-server/
255+
│ ├── cursor/
256+
│ └── vscode-web/
255257
└── templates/
256258
```
257259

258260
3. **Reference modules** using Git source addresses:
259261

260262
```tf
261263
module "code_server" {
262-
source = "git::https://your-internal-git.com/coder-modules.git//modules/code-server?ref=v1.0.19"
264+
source = "git::https://your-internal-git.com/coder-modules.git//registry/coder/modules/code-server?ref=v1.0.19"
263265
agent_id = coder_agent.example.id
264266
offline = true # Prevent external downloads
265267
}
@@ -310,11 +312,6 @@ module "code_server" {
310312

311313
For more information, see the [Terraform Modules documentation](../admin/templates/extending-templates/modules.md).
312314

313-
## Coder Modules
314-
315-
To use Coder modules in offline installations please follow the instructions
316-
[here](../admin/templates/extending-templates/modules.md#offline-installations).
317-
318315
## Firewall exceptions
319316

320317
In restricted internet networks, Coder may require connection to internet.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy