fix
This commit is contained in:
parent
3a30608093
commit
6c55d17fe6
@ -76,18 +76,18 @@ resource "coder_agent" "main" {
|
|||||||
{% block code_server %}
|
{% block code_server %}
|
||||||
# code-server
|
# code-server
|
||||||
resource "coder_app" "code-server" {
|
resource "coder_app" "code-server" {
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
slug = "code-server"
|
slug = "code-server"
|
||||||
name = "VS Code Web"
|
display_name = "VS Code Web"
|
||||||
icon = "/icon/code.svg"
|
icon = "/icon/code.svg"
|
||||||
url = "http://localhost:13337?folder={{ vs_code_root|default("/home/coder", true) }}"
|
url = "http://localhost:13337?folder={{ vs_code_root|default("/home/coder", true) }}"
|
||||||
subdomain = false
|
subdomain = false
|
||||||
share = "owner"
|
share = "owner"
|
||||||
|
|
||||||
healthcheck {
|
healthcheck {
|
||||||
url = "http://localhost:13337/healthz"
|
url = "http://localhost:13337/healthz"
|
||||||
interval = 3
|
interval = 3
|
||||||
threshold = 10
|
threshold = 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@ -4,18 +4,18 @@
|
|||||||
|
|
||||||
{% block coder_apps %}
|
{% block coder_apps %}
|
||||||
resource "coder_app" "jupyter" {
|
resource "coder_app" "jupyter" {
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
name = "Jupyter"
|
display_name = "Jupyter lab"
|
||||||
slug = "jupyter"
|
slug = "jupyter"
|
||||||
icon = "/icon/jupyter.svg"
|
icon = "/icon/jupyter.svg"
|
||||||
url = "http://localhost:8888/"
|
url = "http://localhost:8888/"
|
||||||
subdomain = true
|
subdomain = true
|
||||||
share = "owner"
|
share = "owner"
|
||||||
|
|
||||||
healthcheck {
|
healthcheck {
|
||||||
url = "http://localhost:8888/api"
|
url = "http://localhost:8888/api"
|
||||||
interval = 3
|
interval = 3
|
||||||
threshold = 10
|
threshold = 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@ -6,17 +6,17 @@
|
|||||||
|
|
||||||
{% block coder_apps %}
|
{% block coder_apps %}
|
||||||
resource "coder_app" "splunk" {
|
resource "coder_app" "splunk" {
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
name = "splunk"
|
display_name = "Splunk Web"
|
||||||
icon = "https://avatars.githubusercontent.com/u/651467?s=120&v=4"
|
icon = "https://avatars.githubusercontent.com/u/651467?s=120&v=4"
|
||||||
url = "http://localhost:8000/"
|
url = "http://localhost:8000/"
|
||||||
subdomain = true
|
subdomain = true
|
||||||
share = "public"
|
share = "public"
|
||||||
|
|
||||||
healthcheck {
|
healthcheck {
|
||||||
url = "http://localhost:8000/"
|
url = "http://localhost:8000/"
|
||||||
interval = 3
|
interval = 3
|
||||||
threshold = 10
|
threshold = 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user