ovalgee
ovalgee
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
Hey, I setup sub domain and then the two mode of main.tf can working
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
No description
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
Is still can not working
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
this file is the docker image log.
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
resource "coder_agent" "main" {
arch = data.coder_provisioner.me.arch
os = "linux"
dir = "/home/${local.username}"
startup_script = <<-EOT
set -e

# Prepare user home with default files on first start.
if [ ! -f ~/.init_done ]; then
cp -rT /etc/skel ~
touch ~/.init_done
fi

# install and start code-server
# curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.11.0
/tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &

# startup filebrowser
/usr/local/bin/filebrowser --noauth --root /home/${local.username} --port 13339 >/tmp/filebrowser.log 2>&1 &
EOT
...
...
resource "coder_agent" "main" {
arch = data.coder_provisioner.me.arch
os = "linux"
dir = "/home/${local.username}"
startup_script = <<-EOT
set -e

# Prepare user home with default files on first start.
if [ ! -f ~/.init_done ]; then
cp -rT /etc/skel ~
touch ~/.init_done
fi

# install and start code-server
# curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.11.0
/tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &

# startup filebrowser
/usr/local/bin/filebrowser --noauth --root /home/${local.username} --port 13339 >/tmp/filebrowser.log 2>&1 &
EOT
...
...
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
resource "coder_app" "filebrowser" {
agent_id = coder_agent.main.id
display_name = "file browser"
slug = "filebrowser"
url = "http://localhost:13339"
icon = "/icon/filebrowser.svg"
subdomain = false
share = "owner"

healthcheck {
url = "http://localhost:13339/healthz"
interval = 3
threshold = 10
}
}
resource "coder_app" "filebrowser" {
agent_id = coder_agent.main.id
display_name = "file browser"
slug = "filebrowser"
url = "http://localhost:13339"
icon = "/icon/filebrowser.svg"
subdomain = false
share = "owner"

healthcheck {
url = "http://localhost:13339/healthz"
interval = 3
threshold = 10
}
}
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
I had wait more than 3 minutes.
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
No description
18 replies
CCoder.com
Created by ovalgee on 4/24/2025 in #help
The filebrowser module always loading
No description
18 replies