@@ -15,7 +15,7 @@ env | grep CODER_
15
15
```
16
16
17
17
## Available environment variables
18
-
18
+ <!-- markdownlint-disable MD044 -->
19
19
<table >
20
20
<tr>
21
21
<th>Environment variable</th>
@@ -33,6 +33,19 @@ env | grep CODER_
33
33
<td><code>CODER_USERNAME</code></td>
34
34
<td>Your user name</td>
35
35
</tr>
36
+ <tr>
37
+ <td><code>CODER_URL</code></td>
38
+ <td>The base URL of your Coder deployment</td>
39
+ </tr>
40
+ <tr>
41
+ <td><code>CODER_WP_NAME</code></td>
42
+ <td>The name of the workspace provider hosting the workspace</td>
43
+ </tr>
44
+ <tr>
45
+ <td><code>CODER_ASSETS_ROOT</code></td>
46
+ <td>The directory where coder adds Coder-specific assets during
47
+ workspace creation, such as the <code>coder-cli</code> binary</td>
48
+ </tr>
36
49
<tr>
37
50
<td><code>CODER_CPU_LIMIT</code></td>
38
51
<td>The CPU core limit given to your workspace</td>
@@ -49,18 +62,14 @@ env | grep CODER_
49
62
<td><code>CODER_IMAGE_DIGEST</code></td>
50
63
<td>The content-addressable identifier for your image</td>
51
64
</tr>
52
- <tr>
53
- <td><code>CODER_IMAGE_URI</code></td>
54
- <td>The URI for the image used to build the workspace</td>
55
- </tr>
56
- <tr>
57
- <td><code>CODER_WP_NAME</code></td>
58
- <td>The name of the workspace provider hosting the environment</td>
59
- </tr>
60
65
<tr>
61
66
<td><code>CODER_RUNTIME</code></td>
62
67
<td>The container runtime used to start the workspace (either
63
- `kubernetes/default` or `kubernetes/sysbox` if the workspace
64
- is a CVM</td>
68
+ <code>kubernetes/default</code> or <code>kubernetes/sysbox</code>
69
+ if the workspace is a CVM</td>
70
+ </tr>
71
+ <tr>
72
+ <td><code>CODER_IMAGE_URI</code></td>
73
+ <td>The URI of the image used to build the workspace</td>
65
74
</tr>
66
75
</table >
0 commit comments