chore: path app IDEs (#11007)

This commit is contained in:
sharkymark 2023-12-04 05:22:22 -06:00 committed by GitHub
parent 70cede8f7a
commit 676e215a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 1 deletions

View File

@ -114,7 +114,7 @@ Coder's current activity and usage. It may be necessary to increase the
resources allocated to Coder's database. Alternatively, you can raise the resources allocated to Coder's database. Alternatively, you can raise the
configured threshold to a higher value (this will not address the root cause). configured threshold to a higher value (this will not address the root cause).
> **Tip:** > [!TIP]
> >
> - You can enable > - You can enable
> [detailed database metrics](../cli/server.md#--prometheus-collect-db-metrics) > [detailed database metrics](../cli/server.md#--prometheus-collect-db-metrics)

View File

@ -222,6 +222,16 @@ resource "coder_app" "jupyter" {
} }
``` ```
If you cannot enable a
[wildcard subdomain](https://coder.com/docs/v2/latest/admin/configure#wildcard-access-url),
you can configure the template to run Jupyter on a path. There is however
[security risk](https://coder.com/docs/v2/latest/cli/server#--dangerous-allow-path-app-sharing)
running an app on a path and the template code is more complicated with coder
value substitution to recreate the path structure.
[This](https://github.com/sharkymark/v2-templates/tree/main/pod-with-jupyter-path)
is a community template example.
![JupyterLab in Coder](../images/jupyter.png) ![JupyterLab in Coder](../images/jupyter.png)
## RStudio ## RStudio
@ -259,6 +269,17 @@ resource "coder_app" "rstudio" {
} }
``` ```
If you cannot enable a
[wildcard subdomain](https://coder.com/docs/v2/latest/admin/configure#wildcard-access-url),
you can configure the template to run RStudio on a path using an NGINX reverse
proxy in the template. There is however
[security risk](https://coder.com/docs/v2/latest/cli/server#--dangerous-allow-path-app-sharing)
running an app on a path and the template code is more complicated with coder
value substitution to recreate the path structure.
[This](https://github.com/sempie/coder-templates/tree/main/rstudio) is a
community template example.
![RStudio in Coder](../images/rstudio-port-forward.png) ![RStudio in Coder](../images/rstudio-port-forward.png)
## Airflow ## Airflow

View File

@ -29,6 +29,8 @@ templates.
- [atnomoverflow/coder-template](https://github.com/atnomoverflow/coder-template) - - [atnomoverflow/coder-template](https://github.com/atnomoverflow/coder-template) -
Kubernetes template that install VS code server Rstudio jupyter and also set Kubernetes template that install VS code server Rstudio jupyter and also set
ssh access to gitlab (Works also on self managed gitlab). ssh access to gitlab (Works also on self managed gitlab).
- [sempie/coder-templates](https://github.com/sempie/coder-templates) - RStudio
template on a path using NGINX in the workspace
## Automation ## Automation