Skip to content

Commit bdefd4e

Browse files
authored
chore: convert faq headers to dropdowns (#11585)
* changed FAQs from headers to twists * added dropdowns and mild formatting * make fmt
1 parent 162c91e commit bdefd4e

File tree

1 file changed

+92
-34
lines changed

1 file changed

+92
-34
lines changed

docs/faqs.md

+92-34
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Frequently asked questions on Coder OSS and Enterprise deployments. These FAQs
44
come from our community and enterprise customers, feel free to
55
[contribute to this page](https://github.com/coder/coder/edit/main/docs/faqs.md).
66

7-
## How do I add an enterprise license?
7+
<details style="margin-bottom: 28px;">
8+
<summary style="font-size: larger; font-weight: bold;">How do I add an enterprise license?</summary>
89

910
Visit https://coder.com/trial or contact
1011
[sales@coder.com](mailto:sales@coder.com?subject=License) to get a v2 enterprise
@@ -31,7 +32,10 @@ If the license is in a file:
3132
coder licenses add -f <path/filename>
3233
```
3334

34-
## I'm experiencing networking issues, so want to disable Tailscale, STUN, Direct connections and force use of websockets
35+
</details>
36+
37+
<details style="margin-bottom: 28px;">
38+
<summary style="font-size: larger; font-weight: bold;">I'm experiencing networking issues, so want to disable Tailscale, STUN, Direct connections and force use of websockets</summary>
3539

3640
The primary developer use case is a local IDE connecting over SSH to a Coder
3741
workspace.
@@ -58,13 +62,19 @@ troubleshooting.
5862
| [`CODER_DERP_SERVER_STUN_ADDRESSES`](https://coder.com/docs/v2/latest/cli/server#--derp-server-stun-addresses) | `"disable"` | Disables STUN |
5963
| [`CODER_DERP_FORCE_WEBSOCKETS`](https://coder.com/docs/v2/latest/cli/server#--derp-force-websockets) | `true` | Forces websockets over Tailscale DERP |
6064

61-
## How do I configure NGINX as the reverse proxy in front of Coder?
65+
</details>
66+
67+
<details style="margin-bottom: 28px;">
68+
<summary style="font-size: larger; font-weight: bold;">How do I configure NGINX as the reverse proxy in front of Coder?</summary>
6269

6370
[This doc](https://github.com/coder/coder/tree/main/examples/web-server/nginx#configure-nginx)
6471
in our repo explains in detail how to configure NGINX with Coder so that our
6572
Tailscale Wireguard networking functions properly.
6673

67-
## How do I hide some of the default icons in a workspace like VS Code Desktop, Terminal, SSH, Ports?
74+
</details>
75+
76+
<details style="margin-bottom: 28px;">
77+
<summary style="font-size: larger; font-weight: bold;">How do I hide some of the default icons in a workspace like VS Code Desktop, Terminal, SSH, Ports?</summary>
6878

6979
The visibility of Coder apps is configurable in the template. To change the
7080
default (shows all), add this block inside the
@@ -83,7 +93,10 @@ of a template and configure as needed:
8393

8494
This example will hide all built-in coder_app icons except the web terminal.
8595

86-
## I want to allow code-server to be accessible by other users in my deployment.
96+
</details>
97+
98+
<details style="margin-bottom: 28px;">
99+
<summary style="font-size: larger; font-weight: bold;">I want to allow code-server to be accessible by other users in my deployment.</summary>
87100

88101
> It is **not** recommended to share a web IDE, but if required, the following
89102
> deployment environment variable settings are required.
@@ -113,7 +126,10 @@ resource "coder_app" "code-server" {
113126
}
114127
```
115128

116-
## I installed Coder and created a workspace but the icons do not load.
129+
</details>
130+
131+
<details style="margin-bottom: 28px;">
132+
<summary style="font-size: larger; font-weight: bold;">I installed Coder and created a workspace but the icons do not load.</summary>
117133

118134
An important concept to understand is that Coder creates workspaces which have
119135
an agent that must be able to reach the `coder server`.
@@ -137,7 +153,10 @@ coder server --access-url http://localhost:3000 --address 0.0.0.0:3000
137153
> Even `coder server` which creates a reverse proxy, will let you use
138154
> http://localhost to access Coder from a browser.
139155

140-
## I updated a template, and an existing workspace based on that template fails to start.
156+
</details>
157+
158+
<details style="margin-bottom: 28px;">
159+
<summary style="font-size: larger; font-weight: bold;">I updated a template, and an existing workspace based on that template fails to start.</summary>
141160

142161
When updating a template, be aware of potential issues with input variables. For
143162
example, if a template prompts users to choose options like a
@@ -157,7 +176,10 @@ potentially saving the workspace from a failed status.
157176
coder update --always-prompt <workspace name>
158177
```
159178

160-
## I'm running coder on a VM with systemd but latest release installed isn't showing up.
179+
</details>
180+
181+
<details style="margin-bottom: 28px;">
182+
<summary style="font-size: larger; font-weight: bold;">I'm running coder on a VM with systemd but latest release installed isn't showing up.</summary>
161183

162184
Take, for example, a Coder deployment on a VM with a 2 shared vCPU systemd
163185
service. In this scenario, it's necessary to reload the daemon and then restart
@@ -172,7 +194,10 @@ sudo systemctl daemon-reload
172194
sudo systemctl restart coder.service
173195
```
174196

175-
## I'm using the built-in Postgres database and forgot admin email I set up.
197+
</details>
198+
199+
<details style="margin-bottom: 28px;">
200+
<summary style="font-size: larger; font-weight: bold;">I'm using the built-in Postgres database and forgot admin email I set up.</summary>
176201

177202
1. Run the `coder server` command below to retrieve the `psql` connection URL
178203
which includes the database user and password.
@@ -185,7 +210,10 @@ coder server postgres-builtin-url
185210
psql "postgres://coder@localhost:53737/coder?sslmode=disable&password=I2S...pTk"
186211
```
187212

188-
## How to find out Coder's latest Terraform provider version?
213+
</details>
214+
215+
<details style="margin-bottom: 28px;">
216+
<summary style="font-size: larger; font-weight: bold;">How to find out Coder's latest Terraform provider version?</summary>
189217

190218
[Coder is on the HashiCorp's Terraform registry](https://registry.terraform.io/providers/coder/coder/latest).
191219
Check this frequently to make sure you are on the latest version.
@@ -194,7 +222,10 @@ Sometimes, the version may change and `resource` configurations will either
194222
become deprecated or new ones will be added when you get warnings or errors
195223
creating and pushing templates.
196224

197-
## How can I set up TLS for my deployment and not create a signed certificate?
225+
</details>
226+
227+
<details style="margin-bottom: 28px;">
228+
<summary style="font-size: larger; font-weight: bold;">How can I set up TLS for my deployment and not create a signed certificate?</summary>
198229

199230
Caddy is an easy-to-configure reverse proxy that also automatically creates
200231
certificates from Let's Encrypt.
@@ -209,17 +240,20 @@ coder.example.com {
209240
210241
reverse_proxy 127.0.0.1:3000
211242
212-
tls {
243+
tls {
213244
214-
issuer acme {
215-
email user@example.com
216-
}
245+
issuer acme {
246+
email user@example.com
247+
}
217248
218-
}
249+
}
219250
}
220251
```
221252

222-
## I'm using Caddy as my reverse proxy in front of Coder. How do I set up a wildcard domain for port forwarding?
253+
</details>
254+
255+
<details style="margin-bottom: 28px;">
256+
<summary style="font-size: larger; font-weight: bold;">I'm using Caddy as my reverse proxy in front of Coder. How do I set up a wildcard domain for port forwarding?</summary>
223257

224258
Caddy requires your DNS provider's credentials to create wildcard certificates.
225259
This involves building the Caddy binary
@@ -235,21 +269,24 @@ The updated Caddyfile configuration will look like this:
235269
```text
236270
*.coder.example.com, coder.example.com {
237271
238-
reverse_proxy 127.0.0.1:3000
272+
reverse_proxy 127.0.0.1:3000
239273
240-
tls {
241-
issuer acme {
242-
email user@example.com
243-
dns googleclouddns {
244-
gcp_project my-gcp-project
245-
}
246-
}
247-
}
274+
tls {
275+
issuer acme {
276+
email user@example.com
277+
dns googleclouddns {
278+
gcp_project my-gcp-project
279+
}
280+
}
281+
}
248282
249283
}
250284
```
251285

252-
## Can I use local or remote Terraform Modules in Coder templates?
286+
</details>
287+
288+
<details style="margin-bottom: 28px;">
289+
<summary style="font-size: larger; font-weight: bold;">Can I use local or remote Terraform Modules in Coder templates?</summary>
253290

254291
One way is to reference a Terraform module from a GitHub repo to avoid
255292
duplication and then just extend it or pass template-specific
@@ -291,8 +328,10 @@ References:
291328
- [Public Github Issue 6117](https://github.com/coder/coder/issues/6117)
292329
- [Public Github Issue 5677](https://github.com/coder/coder/issues/5677)
293330
- [Coder docs: Templates/Change Management](https://coder.com/docs/v2/latest/templates/change-management)
331+
</details>
294332

295-
## Can I run Coder in an air-gapped or offline mode? (no Internet)?
333+
<details style="margin-bottom: 28px;">
334+
<summary style="font-size: larger; font-weight: bold;">Can I run Coder in an air-gapped or offline mode? (no Internet)?</summary>
296335

297336
Yes, Coder can be deployed in air-gapped or offline mode.
298337
https://coder.com/docs/v2/latest/install/offline
@@ -306,7 +345,10 @@ defaults to Google's STUN servers, so you can either create your STUN server in
306345
your network or disable and force all traffic through the control plane's DERP
307346
proxy.
308347

309-
## Create a randomized computer_name for an Azure VM
348+
</details>
349+
350+
<details style="margin-bottom: 28px;">
351+
<summary style="font-size: larger; font-weight: bold;">Create a randomized computer_name for an Azure VM</summary>
310352

311353
Azure VMs have a 15 character limit for the `computer_name` which can lead to
312354
duplicate name errors.
@@ -321,7 +363,10 @@ locals {
321363
}
322364
```
323365

324-
## Do you have example JetBrains Gateway templates?
366+
</details>
367+
368+
<details style="margin-bottom: 28px;">
369+
<summary style="font-size: larger; font-weight: bold;">Do you have example JetBrains Gateway templates?</summary>
325370

326371
In August 2023, JetBrains certified the Coder plugin signifying enhanced
327372
stability and reliability.
@@ -342,8 +387,10 @@ open the IDE.
342387

343388
- [IntelliJ IDEA](https://github.com/sharkymark/v2-templates/tree/main/pod-idea)
344389
- [IntelliJ IDEA with Icon](https://github.com/sharkymark/v2-templates/tree/main/pod-idea-icon)
390+
</details>
345391

346-
## What options do I have for adding VS Code extensions into code-server, VS Code Desktop or Microsoft's Code Server?
392+
<details style="margin-bottom: 28px;">
393+
<summary style="font-size: larger; font-weight: bold;">What options do I have for adding VS Code extensions into code-server, VS Code Desktop or Microsoft's Code Server?</summary>
347394

348395
Coder has an open-source project called
349396
[`code-marketplace`](https://github.com/coder/code-marketplace) which is a
@@ -369,7 +416,10 @@ https://github.com/sharkymark/v2-templates/blob/main/vs-code-server/main.tf
369416
> Note: these are example templates with no SLAs on them and are not guaranteed
370417
> for long-term support.
371418

372-
## I want to run Docker for my workspaces but not install Docker Desktop.
419+
</details>
420+
421+
<details style="margin-bottom: 28px;">
422+
<summary style="font-size: larger; font-weight: bold;">I want to run Docker for my workspaces but not install Docker Desktop.</summary>
373423

374424
[Colima](https://github.com/abiosoft/colima) is a Docker Desktop alternative.
375425

@@ -404,7 +454,10 @@ Colima will show the path to the docker socket so I have a
404454
[Coder template](./docker-code-server/main.tf) that prompts the Coder admin to
405455
enter the docker socket as a Terraform variable.
406456

407-
## How to make a `coder_app` optional?
457+
</details>
458+
459+
<details style="margin-bottom: 28px;">
460+
<summary style="font-size: larger; font-weight: bold;">How to make a `coder_app` optional?</summary>
408461

409462
An example use case is the user should decide if they want a browser-based IDE
410463
like code-server when creating the workspace.
@@ -462,7 +515,10 @@ resource "coder_app" "code-server" {
462515
}
463516
```
464517

465-
## Why am I getting this "remote host doesn't meet VS Code Server's prerequisites" error when opening up VSCode remote in a Linux environment?
518+
</details>
519+
520+
<details style="margin-bottom: 28px;">
521+
<summary style="font-size: larger; font-weight: bold;">Why am I getting this "remote host doesn't meet VS Code Server's prerequisites" error when opening up VSCode remote in a Linux environment?</summary>
466522

467523
![VS Code Server prerequisite](https://github.com/coder/coder/assets/10648092/150c5996-18b1-4fae-afd0-be2b386a3239)
468524

@@ -472,3 +528,5 @@ instance, Alpine is not supported at all. If so, you need to find a container
472528
image or supported OS for the VS Code Server. For more information on OS
473529
prerequisites for Linux, please look at the VSCode docs.
474530
https://code.visualstudio.com/docs/remote/linux#_local-linux-prerequisites
531+
532+
</details>

0 commit comments

Comments
 (0)