Skip to content

Commit 72caf68

Browse files
committed
fmt
1 parent a9660c3 commit 72caf68

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

examples/templates/do-linux/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ maintainer_github: coder
66
verified: true
77
tags: [vm, linux, digitalocean]
88
---
9+
910
# Remote Development on DigitalOcean Droplets
1011

1112
Provision DigitalOcean Droplets as [Coder workspaces](https://coder.com/docs/coder-v2/latest) with this example template.
@@ -19,7 +20,7 @@ To deploy workspaces as DigitalOcean Droplets, you'll need:
1920
- DigitalOcean [personal access token (PAT)](https://docs.digitalocean.com/reference/api/create-personal-access-token/)
2021

2122
- DigitalOcean project ID (you can get your project information via the `doctl`
22-
CLI by running `doctl projects list`)
23+
CLI by running `doctl projects list`)
2324

2425
- Remove the following sections from the `main.tf` file if you don't want to
2526
associate your workspaces with a project:
@@ -28,7 +29,7 @@ CLI by running `doctl projects list`)
2829
- `resource "digitalocean_project_resources" "project"`
2930

3031
- **Optional:** DigitalOcean SSH key ID (obtain via the `doctl` CLI by running
31-
`doctl compute ssh-key list`)
32+
`doctl compute ssh-key list`)
3233

3334
- Note that this is only required for Fedora images to work.
3435

examples/templates/gcp-linux/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Coder persists the root volume. The full filesystem is preserved when the worksp
5656

5757
> **Note**
5858
> This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.
59+
5960
## code-server
6061

6162
`code-server` is installed via the `startup_script` argument in the `coder_agent`

examples/templates/gcp-windows/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Coder persists the root volume. The full filesystem is preserved when the worksp
5656

5757
> **Note**
5858
> This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.
59+
5960
## code-server
6061

6162
`code-server` is installed via the `startup_script` argument in the `coder_agent`

examples/templates/nomad-docker/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,36 @@ verified: true
77
tags: [nomad, container]
88
---
99

10+
# Remote Development on Nomad
11+
12+
Provision Nomad Jobs as [Coder workspaces](https://coder.com/docs/coder-v2/latest) with this example template.
13+
14+
<!-- TODO: Add screenshot -->
15+
16+
## Prerequisites
17+
18+
### Infrastructure
19+
20+
**Cluster**: This template requires an existing Kubernetes cluster
21+
22+
**Container Image**: This template uses the [codercom/enterprise-base:ubuntu image](https://github.com/coder/enterprise-images/tree/main/images/base) with some dev tools preinstalled. To add additional tools, extend this image or build it yourself.
23+
24+
### Authentication
25+
26+
This template authenticates using a `~/.kube/config`, if present on the server, or via built-in authentication if the Coder provisioner is running on Kubernetes with an authorized ServiceAccount. To use another [authentication method](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs#authentication), edit the template.
27+
28+
## Architecture
29+
30+
This template provisions the following resources:
31+
32+
- Kubernetes pod (ephemeral)
33+
- Kubernetes persistent volume claim (persistent on `/home/coder`)
34+
35+
This means, when the workspace restarts, any tools or files outside of the home directory are not persisted. To pre-bake tools into the workspace (e.g. `python3`), modify the container image. Alternatively, individual developers can [personalize](https://coder.com/docs/v2/latest/dotfiles) their workspaces with dotfiles.
36+
37+
> **Note**
38+
> This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.
39+
1040
# Develop in a Nomad Docker Container
1141

1242
This example shows how to use Nomad service tasks to be used as a development environment using docker and host csi volumes.

0 commit comments

Comments
 (0)