Skip to content

Commit 4733484

Browse files
committed
added appearance as a subsection of setup
1 parent 53aba05 commit 4733484

31 files changed

+152
-48
lines changed

docs/admin/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
These guides contain information on managing the Coder control plane and [authoring templates](./templates/README.md).
44

5-
First time viewers looking to set up control plane access can start with the [configuration guide](./setup.md). If you're a team lead looking to design environments for your developers, check out our [templates guides](./templates/README.md). If you are a developer using Coder, we recommend the [user guides](../user-guides/README.md).
5+
First time viewers looking to set up control plane access can start with the [configuration guide](./setup/README.md). If you're a team lead looking to design environments for your developers, check out our [templates guides](./templates/README.md). If you are a developer using Coder, we recommend the [user guides](../user-guides/README.md).
66

77
For automation and scripting workflows, see our [CLI](../reference/cli/README.md) and [API](../reference/api/README.md) docs.
88

docs/admin/monitoring/health-check.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The deployment health page is broken up into the following sections:
1313
## Access URL
1414

1515
The Access URL section shows checks related to Coder's
16-
[access URL](../setup.md#access-url).
16+
[access URL](../setup/README.md#access-url).
1717

1818
Coder will periodically send a GET request to `${CODER_ACCESS_URL}/healthz` and
1919
validate that the response is `200 OK`. The expected response body is also the
@@ -27,7 +27,8 @@ _Access URL not set_
2727

2828
**Problem:** no access URL has been configured.
2929

30-
**Solution:** configure an [access URL](../setup.md#access-url) for Coder.
30+
**Solution:** configure an [access URL](../setup/README.md#access-url) for
31+
Coder.
3132

3233
### EACS02
3334

docs/admin/networking/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ In order for clients to be able to establish direct connections:
5959
## coder server
6060

6161
Workspaces connect to the coder server via the server's external address, set
62-
via [`ACCESS_URL`](../../admin/setup.md#access-url). There must not be a NAT
62+
via [`ACCESS_URL`](../../admin/setup/README.md#access-url). There must not be a NAT
6363
between workspaces and coder server.
6464

6565
Users connect to the coder server's dashboard and API through its `ACCESS_URL`

docs/admin/networking/port-forwarding.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ For more examples, see `coder port-forward --help`.
4949
## Dashboard
5050

5151
> To enable port forwarding via the dashboard, Coder must be configured with a
52-
> [wildcard access URL](../../admin/setup.md#wildcard-access-url). If an access
53-
> URL is not specified, Coder will create
54-
> [a publicly accessible URL](../../admin/setup.md#tunnel) to reverse proxy the
55-
> deployment, and port forwarding will work.
52+
> [wildcard access URL](../../admin/setup/README.md#wildcard-access-url). If an
53+
> access URL is not specified, Coder will create
54+
> [a publicly accessible URL](../../admin/setup/README.md#tunnel) to reverse
55+
> proxy the deployment, and port forwarding will work.
5656
>
5757
> There is a
5858
> [DNS limitation](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.1)
File renamed without changes.

docs/admin/setup/appearance.md

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# Appearance (enterprise) (premium)
2+
3+
Customize the look of your Coder deployment to meet your enterprise
4+
requirements.
5+
6+
You can access the Appearance settings by navigating to
7+
`Deployment > Appearance`.
8+
9+
![application name and logo url](../../images/admin/setup/appearance/application-name-logo-url.png)
10+
11+
## Application Name
12+
13+
Specify a custom application name to be displayed on the login page. The default
14+
is Coder.
15+
16+
## Logo URL
17+
18+
Specify a custom URL for your enterprise's logo to be displayed on the sign in
19+
page and in the top left corner of the dashboard. The default is the Coder logo.
20+
21+
## Announcement Banners
22+
23+
![announcement banner](../../images/admin/setup/appearance/announcement_banner_settings.png)
24+
25+
Announcement Banners let admins post important messages to all site users. Only
26+
Site Owners may set the announcement banners.
27+
28+
Example: Use multiple announcement banners for concurrent deployment-wide
29+
updates, such as maintenance or new feature rollout.
30+
31+
![Multiple announcements](../../images/admin/setup/appearance/multiple-banners.PNG)
32+
33+
Example: Adhere to government network classification requirements and notify
34+
users of which network their Coder deployment is on.
35+
36+
![service banner secret](../../images/admin/setup/appearance/service-banner-secret.png)
37+
38+
## OIDC Login Button Customization
39+
40+
[Use environment variables to customize](../users/oidc-auth.md#oidc-login-customization)
41+
the text and icon on the OIDC button on the Sign In page.
42+
43+
## Support Links
44+
45+
Support links let admins adjust the user dropdown menu to include links
46+
referring to internal company resources. The menu section replaces the original
47+
menu positions: documentation, report a bug to GitHub, or join the Discord
48+
server.
49+
50+
![support links](../../images/admin/setup/appearance/support-links.png)
51+
52+
### Icons
53+
54+
The link icons are optional, and can be set to any url or
55+
[builtin icon](../templates/extending-templates/icons.md#bundled-icons),
56+
additionally `bug`, `chat`, and `docs` are available as three special icons.
57+
58+
### Configuration
59+
60+
#### Kubernetes
61+
62+
To configure support links in your Coder Kubernetes deployment, update your Helm
63+
chart values as follows:
64+
65+
```yaml
66+
coder:
67+
env:
68+
- name: CODER_SUPPORT_LINKS
69+
value: >
70+
[{"name": "Hello GitHub", "target": "https://github.com/coder/coder",
71+
"icon": "bug"},
72+
{"name": "Hello Slack", "target":
73+
"https://codercom.slack.com/archives/C014JH42DBJ", "icon":
74+
"/icon/slack.svg"},
75+
{"name": "Hello Discord", "target": "https://discord.gg/coder", "icon":
76+
"/icon/discord.svg"},
77+
{"name": "Hello Foobar", "target": "https://foo.com/bar", "icon":
78+
"/emojis/1f3e1.png"}]
79+
```
80+
81+
#### System package
82+
83+
if running as a system service, set an environment variable
84+
`CODER_SUPPORT_LINKS` in `/etc/coder.d/coder.env` as follows,
85+
86+
```env
87+
CODER_SUPPORT_LINKS='[{"name": "Hello GitHub", "target": "https://github.com/coder/coder", "icon": "bug"}, {"name": "Hello Slack", "target": "https://codercom.slack.com/archives/C014JH42DBJ", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/slack.svg"}, {"name": "Hello Discord", "target": "https://discord.gg/coder", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/discord.svg"}, {"name": "Hello Foobar", "target": "https://discord.gg/coder", "icon": "/emojis/1f3e1.png"}]'
88+
```
89+
90+
For CLI, use,
91+
92+
```shell
93+
export CODER_SUPPORT_LINKS='[{"name": "Hello GitHub", "target": "https://github.com/coder/coder", "icon": "bug"}, {"name": "Hello Slack", "target": "https://codercom.slack.com/archives/C014JH42DBJ", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/slack.svg"}, {"name": "Hello Discord", "target": "https://discord.gg/coder", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/discord.svg"}, {"name": "Hello Foobar", "target": "https://discord.gg/coder", "icon": "/emojis/1f3e1.png"}]'
94+
coder-server
95+
```

docs/admin/templates/extending-templates/icons.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ come bundled with your Coder deployment.
4444
CODER_EXTERNAL_AUTH_1_ICON=/icon/google.svg
4545
```
4646
47-
- [**Support Links**](../admin/appearance.md#support-links):
47+
- [**Support Links**](../admin/setup/appearance.md#support-links):
4848
4949
- Use icons for support links to make them recognizable. You can set the
5050
`icon` field for each link in `CODER_SUPPORT_LINKS` array.

docs/admin/templates/extending-templates/web-ides.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ module "jupyter" {
196196
```
197197

198198
If you cannot enable a
199-
[wildcard subdomain](../../../admin/setup.md#wildcard-access-url), you can
200-
configure the template to run Jupyter on a path. There is however
199+
[wildcard subdomain](../../../admin/setup/README.md#wildcard-access-url), you
200+
can configure the template to run Jupyter on a path. There is however
201201
[security risk](../../../reference/cli/server#--dangerous-allow-path-app-sharing)
202202
running an app on a path and the template code is more complicated with coder
203203
value substitution to recreate the path structure.

docs/admin/templates/troubleshooting.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ practices:
2121

2222
- Ensure the resource has `curl` installed (alternatively, `wget` or `busybox`)
2323
- Ensure the resource can `curl` your Coder
24-
[access URL](../../admin/setup.md#access-url)
24+
[access URL](../../admin/setup/README.md#access-url)
2525
- Manually connect to the resource and check the agent logs (e.g.,
2626
`kubectl exec`, `docker exec` or AWS console)
2727
- The Coder agent logs are typically stored in `/tmp/coder-agent.log`
@@ -31,7 +31,7 @@ practices:
3131
`/tmp/coder-shutdown-script.log`
3232
- This can also happen if the websockets are not being forwarded correctly when
3333
running Coder behind a reverse proxy.
34-
[Read our reverse-proxy docs](../../admin/setup.md#tls--reverse-proxy)
34+
[Read our reverse-proxy docs](../../admin/setup/README.md#tls--reverse-proxy)
3535

3636
## Startup script issues
3737

docs/admin/users/oidc-auth.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ CODER_OIDC_ICON_URL=https://gitea.io/images/gitea.png
119119
```
120120

121121
To change the icon and text above the OpenID Connect button, see application
122-
name and logo url in [appearance](./appearance.md) settings.
122+
name and logo url in [appearance](../setup/appearance.md) settings.
123123

124124
## Disable Built-in Authentication
125125

docs/admin/users/quotas.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ Form will never get held up by quota enforcement.
104104
## Up next
105105

106106
- [Group Sync](./group-sync.md)
107-
- [Control plane configuration](../setup.md)
107+
- [Control plane configuration](../setup/README.md)
-133 KB
Binary file not shown.

docs/install/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ coder login https://coder.example.com
6565
## Next up
6666

6767
- [Create your first template](../start/first-template.md)
68-
- [Expose your control plane to other users](../admin/setup.md)
68+
- [Expose your control plane to other users](../admin/setup/README.md)

docs/install/cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ coder login https://coder.example.com
5757
## Next up
5858

5959
- [Create your first template](../tutorials/template-from-scratch.md)
60-
- [Control plane configuration](../admin/setup.md)
60+
- [Control plane configuration](../admin/setup/README.md)

docs/install/cloud/compute-engine.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Your browser does not support the video tag.
3131
</video>
3232

3333
Be sure to add a keypair so that you can connect over SSH to further
34-
[configure Coder](../../admin/setup.md).
34+
[configure Coder](../../admin/setup/README.md).
3535

3636
After launching the instance, wait 30 seconds and navigate to the public IPv4
3737
address. You should be redirected to a public tunnel URL.
@@ -48,8 +48,8 @@ pre-installed.
4848

4949
Coder is primarily configured by server-side flags and environment variables.
5050
Given you created or added key-pairs when launching the instance, you can
51-
[configure your Coder deployment](../../admin/setup.md) by logging in via SSH or
52-
using the console:
51+
[configure your Coder deployment](../../admin/setup/README.md) by logging in via
52+
SSH or using the console:
5353

5454
```shell
5555
ssh ubuntu@<gcp-public-IPv4>
@@ -74,5 +74,5 @@ to set up authentication.
7474

7575
- [Use your IDE with Coder](../../user-guides/workspace-access/README.md)
7676
- [Writing custom templates for Coder](../../admin/templates/README.md)
77-
- [Configure the Coder server](../../admin/setup.md)
78-
- [Use your own domain + TLS](../../admin/setup.md#tls--reverse-proxy)
77+
- [Configure the Coder server](../../admin/setup/README.md)
78+
- [Use your own domain + TLS](../../admin/setup/README.md#tls--reverse-proxy)

docs/install/cloud/ec2.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ deployments and you should adjust your infrastructure when preparing for
2929
production use. See: [Scaling Coder](../../admin/infrastructure/README.md)
3030

3131
Be sure to add a keypair so that you can connect over SSH to further
32-
[configure Coder](../../admin/setup.md).
32+
[configure Coder](../../admin/setup/README.md).
3333

3434
After launching the instance, wait 30 seconds and navigate to the public IPv4
3535
address. You should be redirected to a public tunnel URL.
@@ -49,8 +49,8 @@ pre-installed.
4949

5050
Coder is primarily configured by server-side flags and environment variables.
5151
Given you created or added key-pairs when launching the instance, you can
52-
[configure your Coder deployment](../../admin/setup.md) by logging in via SSH or
53-
using the console:
52+
[configure your Coder deployment](../../admin/setup/README.md) by logging in via
53+
SSH or using the console:
5454

5555
<!-- TOOD(@kylecarbs): fix this weird formatting (https://imgur.com/a/LAUY3cT) -->
5656

@@ -86,5 +86,5 @@ creating VM-based workspaces.
8686

8787
- [IDEs with Coder](../../user-guides/workspace-access/README.md)
8888
- [Writing custom templates for Coder](../../admin/templates/README.md)
89-
- [Configure the Coder server](../../admin/setup.md)
90-
- [Use your own domain + TLS](../../admin/setup.md#tls--reverse-proxy)
89+
- [Configure the Coder server](../../admin/setup/README.md)
90+
- [Use your own domain + TLS](../../admin/setup/README.md#tls--reverse-proxy)

docs/install/database.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ With `psql -U coder`:
2020
CREATE DATABASE coder;
2121
```
2222

23-
Coder configuration is defined via [environment variables](../admin/setup.md).
24-
The database client requires the connection string provided via the
25-
`CODER_PG_CONNECTION_URL` variable.
23+
Coder configuration is defined via
24+
[environment variables](../admin/setup/README.md). The database client requires
25+
the connection string provided via the `CODER_PG_CONNECTION_URL` variable.
2626

2727
```shell
2828
export CODER_PG_CONNECTION_URL="postgres://coder:secret42@localhost/coder?sslmode=disable"

docs/install/docker.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ which includes an PostgreSQL container and volume.
7777
workspace
7878

7979
Coder configuration is defined via environment variables. Learn more about
80-
Coder's [configuration options](../admin/setup.md).
80+
Coder's [configuration options](../admin/setup/README.md).
8181

8282
## Troubleshooting
8383

@@ -104,10 +104,10 @@ group, the above may not work as-is.
104104
In order to use cloud-based templates (e.g. Kubernetes, AWS), you must have an
105105
external URL that users and workspaces will use to connect to Coder. For
106106
proof-of-concept deployments, you can use
107-
[Coder's tunnel](../admin/setup.md#tunnel). For production deployments, we
108-
recommend setting an [access URL](../admin/setup.md#access-url)
107+
[Coder's tunnel](../admin/setup/README.md#tunnel). For production deployments,
108+
we recommend setting an [access URL](../admin/setup/README.md#access-url)
109109

110110
## Next steps
111111

112112
- [Create your first template](../tutorials/template-from-scratch.md)
113-
- [Control plane configuration](../admin/setup.md#configure-control-plane-access)
113+
- [Control plane configuration](../admin/setup/README.md#configure-control-plane-access)

docs/install/kubernetes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,4 +293,4 @@ steps.
293293
## Next steps
294294

295295
- [Create your first template](../tutorials/template-from-scratch.md)
296-
- [Control plane configuration](../admin/setup.md)
296+
- [Control plane configuration](../admin/setup/README.md)

docs/install/offline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,4 +265,4 @@ local machine has outbound HTTPS (port 443) connectivity to:
265265
## Next steps
266266

267267
- [Create your first template](../tutorials/template-from-scratch.md)
268-
- [Control plane configuration](../admin/setup.md)
268+
- [Control plane configuration](../admin/setup/README.md)

docs/install/openshift.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,4 +326,4 @@ This template should be ready to use straight away.
326326
## Next steps
327327

328328
- [Create your first template](../tutorials/template-from-scratch.md)
329-
- [Control plane configuration](../admin/setup.md)
329+
- [Control plane configuration](../admin/setup/README.md)

docs/manifest.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,16 @@
153153
{
154154
"title": "Setup",
155155
"description": "Configure user access to your control plane.",
156-
"path": "./admin/setup.md",
157-
"icon_path": "./images/icons/toggle_on.svg"
156+
"path": "./admin/setup/README.md",
157+
"icon_path": "./images/icons/toggle_on.svg",
158+
"children": [
159+
{
160+
"title": "Appearance",
161+
"description": "Learn how to configure the appearance of Coder",
162+
"path": "./admin/appearance.md",
163+
"state": ["enterprise", "premium"]
164+
}
165+
]
158166
},
159167
{
160168
"title": "Infrastructure",

docs/tutorials/faqs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ resource "coder_app" "code-server" {
123123
An important concept to understand is that Coder creates workspaces which have
124124
an agent that must be able to reach the `coder server`.
125125

126-
If the [`CODER_ACCESS_URL`](../admin/setup.md#access-url) is not accessible from
127-
a workspace, the workspace may build, but the agent cannot reach Coder, and thus
128-
the missing icons. e.g., Terminal, IDEs, Apps.
126+
If the [`CODER_ACCESS_URL`](../admin/setup/README.md#access-url) is not
127+
accessible from a workspace, the workspace may build, but the agent cannot reach
128+
Coder, and thus the missing icons. e.g., Terminal, IDEs, Apps.
129129

130130
> By default, `coder server` automatically creates an Internet-accessible
131131
> reverse proxy so that workspaces you create can reach the server.

docs/user-guides/workspace-access/jetbrains.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ manually setting up an SSH connection.
4040

4141
![Gateway Connect to Coder](../../images/gateway/plugin-connect-to-coder.png)
4242

43-
1. Enter your Coder deployment's [Access Url](../../admin/setup.md#access-url)
44-
and click **Connect**.
43+
1. Enter your Coder deployment'ssetup/README.md
44+
[Access Url](../../admin/setup/README.md#access-url) and click **Connect**.
4545

4646
Gateway opens your Coder deployment's `cli-auth` page with a session token.
4747
Click the copy button, paste the session token in the Gateway **Session

docs/user-guides/workspace-access/port-forwarding.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ For more examples, see `coder port-forward --help`.
5353
## Dashboard
5454

5555
> To enable port forwarding via the dashboard, Coder must be configured with a
56-
> [wildcard access URL](../../admin/setup.md#wildcard-access-url). If an access
57-
> URL is not specified, Coder will create
58-
> [a publicly accessible URL](../../admin/setup.md#tunnel) to reverse proxy the
59-
> deployment, and port forwarding will work.
56+
> [wildcard access URL](../../admin/setup/README.md#wildcard-access-url). If an
57+
> access URL is not specified, Coder will create
58+
> [a publicly accessible URL](../../admin/setup/README.md#tunnel) to reverse
59+
> proxy the deployment, and port forwarding will work.
6060
>
6161
> There is a
6262
> [DNS limitation](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.1)

0 commit comments

Comments
 (0)