@@ -31,7 +31,6 @@ If the license is in a file:
31
31
coder licenses add -f < path/filename>
32
32
```
33
33
34
-
35
34
### I'm experiencing networking issues, so want to disable Tailscale, STUN, Direct connections and force use of websockets
36
35
37
36
The primary developer use case is a local IDE connecting over SSH to a Coder
@@ -59,14 +58,12 @@ troubleshooting.
59
58
| [ ` CODER_DERP_SERVER_STUN_ADDRESSES ` ] ( https://coder.com/docs/v2/latest/cli/server#--derp-server-stun-addresses ) | ` "disable" ` | Disables STUN |
60
59
| [ ` CODER_DERP_FORCE_WEBSOCKETS ` ] ( https://coder.com/docs/v2/latest/cli/server#--derp-force-websockets ) | ` true ` | Forces websockets over Tailscale DERP |
61
60
62
-
63
61
### How do I configure NGINX as the reverse proxy in front of Coder?
64
62
65
63
[ This doc] ( https://github.com/coder/coder/tree/main/examples/web-server/nginx#configure-nginx )
66
64
in our repo explains in detail how to configure NGINX with Coder so that our
67
65
Tailscale Wireguard networking functions properly.
68
66
69
-
70
67
### How do I hide some of the default icons in a workspace like VS Code Desktop, Terminal, SSH, Ports?
71
68
72
69
The visibility of Coder apps is configurable in the template. To change the
@@ -86,7 +83,6 @@ of a template and configure as needed:
86
83
87
84
This example will hide all built-in coder_app icons except the web terminal.
88
85
89
-
90
86
### I want to allow code-server to be accessible by other users in my deployment.
91
87
92
88
> It is ** not** recommended to share a web IDE, but if required, the following
@@ -117,7 +113,6 @@ resource "coder_app" "code-server" {
117
113
}
118
114
` ` `
119
115
120
-
121
116
# ## I installed Coder and created a workspace but the icons do not load.
122
117
123
118
An important concept to understand is that Coder creates workspaces which have
@@ -142,7 +137,6 @@ coder server --access-url http://localhost:3000 --address 0.0.0.0:3000
142
137
> Even `coder server` which creates a reverse proxy, will let you use
143
138
> http://localhost to access Coder from a browser.
144
139
145
-
146
140
# ## I updated a template, and an existing workspace based on that template fails to start.
147
141
148
142
When updating a template, be aware of potential issues with input variables. For
@@ -163,7 +157,6 @@ potentially saving the workspace from a failed status.
163
157
coder update --always-prompt <workspace name>
164
158
` ` `
165
159
166
-
167
160
# ## I'm running coder on a VM with systemd but latest release installed isn't showing up.
168
161
169
162
Take, for example, a Coder deployment on a VM with a 2 shared vCPU systemd
@@ -179,7 +172,6 @@ sudo systemctl daemon-reload
179
172
sudo systemctl restart coder.service
180
173
` ` `
181
174
182
-
183
175
# ## I'm using the built-in Postgres database and forgot admin email I set up.
184
176
185
177
1. Run the `coder server` command below to retrieve the `psql` connection URL
@@ -193,7 +185,6 @@ coder server postgres-builtin-url
193
185
psql "postgres://coder@localhost:53737/coder?sslmode=disable&password=I2S...pTk"
194
186
` ` `
195
187
196
-
197
188
# ## How to find out Coder's latest Terraform provider version?
198
189
199
190
[Coder is on the HashiCorp's Terraform registry](https://registry.terraform.io/providers/coder/coder/latest).
@@ -203,7 +194,6 @@ Sometimes, the version may change and `resource` configurations will either
203
194
become deprecated or new ones will be added when you get warnings or errors
204
195
creating and pushing templates.
205
196
206
-
207
197
# ## How can I set up TLS for my deployment and not create a signed certificate?
208
198
209
199
Caddy is an easy-to-configure reverse proxy that also automatically creates
@@ -229,7 +219,6 @@ coder.example.com {
229
219
}
230
220
` ` `
231
221
232
-
233
222
# ## I'm using Caddy as my reverse proxy in front of Coder. How do I set up a wildcard domain for port forwarding?
234
223
235
224
Caddy requires your DNS provider's credentials to create wildcard certificates.
@@ -260,7 +249,6 @@ The updated Caddyfile configuration will look like this:
260
249
}
261
250
` ` `
262
251
263
-
264
252
# ## Can I use local or remote Terraform Modules in Coder templates?
265
253
266
254
One way is to reference a Terraform module from a GitHub repo to avoid
@@ -318,7 +306,6 @@ defaults to Google's STUN servers, so you can either create your STUN server in
318
306
your network or disable and force all traffic through the control plane's DERP
319
307
proxy.
320
308
321
-
322
309
# ## Create a randomized computer_name for an Azure VM
323
310
324
311
Azure VMs have a 15 character limit for the `computer_name` which can lead to
@@ -334,7 +321,6 @@ locals {
334
321
}
335
322
` ` `
336
323
337
-
338
324
# ## Do you have example JetBrains Gateway templates?
339
325
340
326
In August 2023, JetBrains certified the Coder plugin signifying enhanced
@@ -383,7 +369,6 @@ https://github.com/sharkymark/v2-templates/blob/main/vs-code-server/main.tf
383
369
> Note: these are example templates with no SLAs on them and are not guaranteed
384
370
> for long-term support.
385
371
386
-
387
372
# ## I want to run Docker for my workspaces but not install Docker Desktop.
388
373
389
374
[Colima](https://github.com/abiosoft/colima) is a Docker Desktop alternative.
@@ -419,7 +404,6 @@ Colima will show the path to the docker socket so we have a
419
404
[community template](https://github.com/sharkymark/v2-templates/tree/main/docker-code-server)
420
405
that prompts the Coder admin to enter the docker socket as a Terraform variable.
421
406
422
-
423
407
# ## How to make a `coder_app` optional?
424
408
425
409
An example use case is the user should decide if they want a browser-based IDE
@@ -478,7 +462,6 @@ resource "coder_app" "code-server" {
478
462
}
479
463
` ` `
480
464
481
-
482
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?
483
466
484
467

@@ -490,7 +473,6 @@ image or supported OS for the VS Code Server. For more information on OS
490
473
prerequisites for Linux, please look at the VSCode docs.
491
474
https://code.visualstudio.com/docs/remote/linux#_local-linux-prerequisites
492
475
493
-
494
476
# ## How can I resolve disconnects when connected to Coder via JetBrains Gateway?
495
477
496
478
If your JetBrains IDE is disconnected for a long period of time due to a network
@@ -519,4 +501,3 @@ Note that the JetBrains Gateway configuration blocks for each host in your SSH
519
501
config file will be overwritten by the JetBrains Gateway client when it
520
502
re-authenticates to your Coder deployment so you must add the above config as a
521
503
separate block and not add it to any existing ones.
522
-
0 commit comments