Skip to content

Commit 148eb90

Browse files
JounQinmatifali
andauthored
docs: migrate all deprecated CODER_ADDRESS to CODER_HTTP_ADDRESS (#10780)
Co-authored-by: Muhammad Atif Ali <me@matifali.dev>
1 parent 9b864ed commit 148eb90

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/admin/high-availability.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ Coder nodes.
4242

4343
Here's an example 3-node network configuration setup:
4444

45-
| Name | `CODER_ADDRESS` | `CODER_DERP_SERVER_RELAY_URL` | `CODER_ACCESS_URL` |
46-
| --------- | --------------- | ----------------------------- | ------------------------ |
47-
| `coder-1` | `*:80` | `http://10.0.0.1:80` | `https://coder.big.corp` |
48-
| `coder-2` | `*:80` | `http://10.0.0.2:80` | `https://coder.big.corp` |
49-
| `coder-3` | `*:80` | `http://10.0.0.3:80` | `https://coder.big.corp` |
45+
| Name | `CODER_HTTP_ADDRESS` | `CODER_DERP_SERVER_RELAY_URL` | `CODER_ACCESS_URL` |
46+
| --------- | -------------------- | ----------------------------- | ------------------------ |
47+
| `coder-1` | `*:80` | `http://10.0.0.1:80` | `https://coder.big.corp` |
48+
| `coder-2` | `*:80` | `http://10.0.0.2:80` | `https://coder.big.corp` |
49+
| `coder-3` | `*:80` | `http://10.0.0.3:80` | `https://coder.big.corp` |
5050

5151
## Kubernetes
5252

docs/install/kubernetes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ locally in order to log in and manage templates.
8181
# to the workspace provisioner (so you can consume them in your Terraform
8282
# templates for auth keys etc.).
8383
#
84-
# Please keep in mind that you should not set `CODER_ADDRESS`,
84+
# Please keep in mind that you should not set `CODER_HTTP_ADDRESS`,
8585
# `CODER_TLS_ENABLE`, `CODER_TLS_CERT_FILE` or `CODER_TLS_KEY_FILE` as
8686
# they are already set by the Helm chart and will cause conflicts.
8787
env:

examples/lima/coder.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ provision:
7878
# Ensure Coder has permissions on /var/run/docker.socket
7979
usermod -aG docker coder
8080
# Ensure coder listens on all interfaces
81-
sed -i 's/CODER_ADDRESS=.*/CODER_ADDRESS=0.0.0.0:3000/' /etc/coder.d/coder.env
81+
sed -i 's/CODER_HTTP_ADDRESS=.*/CODER_HTTP_ADDRESS=0.0.0.0:3000/' /etc/coder.d/coder.env
8282
# Also set the access URL to host.lima.internal for fast deployments
8383
sed -i 's#CODER_ACCESS_URL=.*#CODER_ACCESS_URL=http://host.lima.internal:3000#' /etc/coder.d/coder.env
8484
# Ensure coder starts on boot

helm/coder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ coder:
2929
# to the workspace provisioner (so you can consume them in your Terraform
3030
# templates for auth keys etc.).
3131
#
32-
# Please keep in mind that you should not set `CODER_ADDRESS`,
32+
# Please keep in mind that you should not set `CODER_HTTP_ADDRESS`,
3333
# `CODER_TLS_ENABLE`, `CODER_TLS_CERT_FILE` or `CODER_TLS_KEY_FILE` as
3434
# they are already set by the Helm chart and will cause conflicts.
3535
env:

0 commit comments

Comments
 (0)