Compare commits
No commits in common. "097e43cb1734ad4cbef4b0c4cf3faddf663322ef" and "90ffc9e059fa2d38849a039ea2c233e7e754ec16" have entirely different histories.
097e43cb17
...
90ffc9e059
@ -69,7 +69,6 @@ def main(ctx):
|
||||
"commands": [
|
||||
"apk add git",
|
||||
"wget -q -O- {url} | tar -xzf - -C /usr/local/bin ./coder".format(url = CODER_URL),
|
||||
"sleep $(( $RANDOM % 15 ))",
|
||||
" || ".join([
|
||||
"coder templates push -d {name} --yes {name}".format(name = coder_template),
|
||||
"coder templates create -d {name} --yes {name}".format(name = coder_template),
|
||||
|
||||
@ -78,7 +78,7 @@ resource "coder_agent" "main" {
|
||||
resource "coder_app" "code-server" {
|
||||
agent_id = coder_agent.main.id
|
||||
slug = "code-server"
|
||||
display_name = "VS Code Web"
|
||||
name = "VS Code Web"
|
||||
icon = "/icon/code.svg"
|
||||
url = "http://localhost:13337?folder={{ vs_code_root|default("/home/coder", true) }}"
|
||||
subdomain = false
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
{% block coder_apps %}
|
||||
resource "coder_app" "jupyter" {
|
||||
agent_id = coder_agent.main.id
|
||||
display_name = "Jupyter notebook"
|
||||
name = "Jupyter"
|
||||
slug = "jupyter"
|
||||
icon = "/icon/jupyter.svg"
|
||||
url = "http://localhost:8888/"
|
||||
@ -23,11 +23,11 @@ resource "coder_app" "jupyter" {
|
||||
{% block kubernetes_pod_main_env %}
|
||||
env {
|
||||
name = "DOCKER_STACKS_JUPYTER_CMD"
|
||||
value = "notebook"
|
||||
value = "lab"
|
||||
}
|
||||
env {
|
||||
name = "NOTEBOOK_ARGS"
|
||||
value = "--no-browser --NotebookApp.token='' --ip='*'"
|
||||
value = "--no-browser --ServerApp.token='' --ip='*'"
|
||||
}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
@ -35,11 +35,3 @@ resource "coder_app" "jupyter" {
|
||||
{% block post_startup_script_setup_home %}
|
||||
/usr/local/bin/start-notebook.sh | tee jupyter-startup.log &
|
||||
{% endblock %}
|
||||
|
||||
{% block kubernetes_pod_main_volume_mount %}
|
||||
volume_mount {
|
||||
mount_path = "/home/jovyan"
|
||||
name = "home"
|
||||
read_only = false
|
||||
}
|
||||
{% endblock %}
|
||||
@ -7,7 +7,7 @@
|
||||
{% block coder_apps %}
|
||||
resource "coder_app" "splunk" {
|
||||
agent_id = coder_agent.main.id
|
||||
display_name = "Splunk Web"
|
||||
name = "splunk"
|
||||
icon = "https://avatars.githubusercontent.com/u/651467?s=120&v=4"
|
||||
url = "http://localhost:8000/"
|
||||
subdomain = true
|
||||
|
||||
Reference in New Issue
Block a user