Skip to content

Commit 09c9304

Browse files
committed
docs: Remove detailed registry modules section per review feedback
- Remove entire 'Using Registry Modules Offline' section as requested - Add back simple 'Coder Modules' section with link to extending templates - Keep the Coder Registry row in the comparison table Addresses review comment from @matifali to simplify the documentation.
1 parent 2f2ad2f commit 09c9304

File tree

1 file changed

+3
-75
lines changed

1 file changed

+3
-75
lines changed

docs/install/offline.md

Lines changed: 3 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -235,82 +235,10 @@ server, as demonstrated in the example below:
235235
With these steps, you'll have the Coder documentation hosted on your server and
236236
accessible for your team to use.
237237

238-
## Using Registry Modules Offline
238+
## Coder Modules
239239

240-
Coder Registry modules from [registry.coder.com](https://registry.coder.com) provide IDEs, tools, and integrations for workspaces. In air-gapped environments, you have several options:
241-
242-
### Option 1: Git Repository (Recommended)
243-
244-
Mirror registry modules in an internal Git repository:
245-
246-
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 using the registry structure:
248-
249-
```text
250-
internal-registry/
251-
├── registry/
252-
│ └── coder/
253-
│ └── modules/
254-
│ ├── code-server/
255-
│ ├── cursor/
256-
│ └── vscode-web/
257-
└── templates/
258-
```
259-
260-
3. **Reference modules** using Git source addresses:
261-
262-
```tf
263-
module "code_server" {
264-
source = "git::https://your-internal-git.com/coder-modules.git//registry/coder/modules/code-server?ref=v1.0.19"
265-
agent_id = coder_agent.example.id
266-
offline = true # Prevent external downloads
267-
}
268-
```
269-
270-
### Option 2: Private Terraform Registry
271-
272-
Set up a private Terraform registry mirror:
273-
274-
1. **Configure a private registry** (such as Terraform Enterprise or Artifactory)
275-
2. **Mirror modules** from the public registry to your private registry
276-
3. **Update templates** to use custom source addresses:
277-
278-
```tf
279-
module "code_server" {
280-
source = "your-registry.com/coder/code-server/coder"
281-
version = "1.0.19"
282-
agent_id = coder_agent.example.id
283-
}
284-
```
285-
286-
### Option 3: Vendored Modules
287-
288-
Include modules directly in your template repositories:
289-
290-
1. **Download modules** and include them in your template repository
291-
2. **Reference with relative paths**:
292-
293-
```tf
294-
module "code_server" {
295-
source = "./modules/code-server" # Relative path to vendored module
296-
agent_id = coder_agent.example.id
297-
}
298-
```
299-
300-
### Module Offline Support
301-
302-
Many registry modules support offline operation with the `offline` parameter:
303-
304-
```tf
305-
module "code_server" {
306-
source = "registry.coder.com/coder/code-server/coder"
307-
version = "1.0.19"
308-
agent_id = coder_agent.example.id
309-
offline = true # Prevents downloading from external sources
310-
}
311-
```
312-
313-
For more information, see the [Terraform Modules documentation](../admin/templates/extending-templates/modules.md).
240+
To use Coder modules in offline installations please follow the instructions
241+
[here](../admin/templates/extending-templates/modules.md#offline-installations).
314242

315243
## Firewall exceptions
316244

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