Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 10 additions & 16 deletions docs/ides/web-ides.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ resource "coder_app" "code-server" {
display_name = "code-server"
url = "http://localhost:13337/?folder=/home/coder"
icon = "/icon/code.svg"
subdomain = true
subdomain = false
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do not need subdomain = true for code-server


healthcheck {
url = "http://localhost:13337/healthz"
Expand Down Expand Up @@ -159,21 +159,15 @@ resource "coder_agent" "main" {
You also need to add a `coder_app` resource for this.

```hcl
# VS Code Server
resource "coder_app" "vscode-server" {
agent_id = coder_agent.coder.id
slug = "vscode-server"
display_name = "VS Code Server"
icon = "/icon/code.svg"
url = "http://localhost:13338?folder=/home/coder"
subdomain = false
share = "owner"

healthcheck {
url = "http://localhost:13338/healthz"
interval = 3
threshold = 10
}
# VS Code Web
resource "coder_app" "vscode-web" {
agent_id = coder_agent.coder.id
slug = "vscode-web"
display_name = "VS Code Web"
icon = "/icon/code.svg"
url = "http://localhost:13338?folder=/home/coder"
subdomain = true # VS Code Web does currently does not work with a subpath https://github.com/microsoft/vscode/issues/192947
share = "owner"
}
```

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy