Start code-server in /opt/splunk
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b4d3ddd4f5
commit
1fcf5b4a63
@ -3,6 +3,24 @@
|
|||||||
{% set coder_user_uid = 41812 %}
|
{% set coder_user_uid = 41812 %}
|
||||||
{% set coder_user_gid = 41812 %}
|
{% set coder_user_gid = 41812 %}
|
||||||
|
|
||||||
|
{% block code_server %}
|
||||||
|
# code-server
|
||||||
|
resource "coder_app" "code-server" {
|
||||||
|
agent_id = coder_agent.main.id
|
||||||
|
name = "code-server"
|
||||||
|
icon = "/icon/code.svg"
|
||||||
|
url = "http://localhost:13337?folder=/opt/splunk"
|
||||||
|
subdomain = false
|
||||||
|
share = "owner"
|
||||||
|
|
||||||
|
healthcheck {
|
||||||
|
url = "http://localhost:13337/healthz"
|
||||||
|
interval = 3
|
||||||
|
threshold = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% 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
|
||||||
|
|||||||
Reference in New Issue
Block a user