You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
modules/filebrowser
Muhammad Atif Ali 6e757639ed Add default value and validation to agent_name variable
Ensure that agent_name defaults to an empty string, and introduce
validation to require it when subdomain is true. This aligns with
expected behavior and prevents misconfiguration.
10 months ago
..
README.md Add default value and validation to agent_name variable 10 months ago
main.test.ts feat(filebrowser): support subdomain = false (#286) 10 months ago
main.tf Add default value and validation to agent_name variable 10 months ago
run.sh feat(filebrowser): support subdomain = false (#286) 10 months ago

README.md

display_name description icon maintainer_github verified tags
File Browser A file browser for your workspace ../.icons/filebrowser.svg coder true
helper
filebrowser

File Browser

A file browser for your workspace.

module "filebrowser" {
  source   = "registry.coder.com/modules/filebrowser/coder"
  version  = "1.0.18"
  agent_id = coder_agent.example.id
}

Filebrowsing Example

Examples

Serve a specific directory

module "filebrowser" {
  source   = "registry.coder.com/modules/filebrowser/coder"
  version  = "1.0.18"
  agent_id = coder_agent.example.id
  folder   = "/home/coder/project"
}

Specify location of filebrowser.db

module "filebrowser" {
  source        = "registry.coder.com/modules/filebrowser/coder"
  version       = "1.0.18"
  agent_id      = coder_agent.example.id
  database_path = ".config/filebrowser.db"
}

Serve from the same domain (no subdomain)

module "filebrowser" {
  source     = "registry.coder.com/modules/filebrowser/coder"
  agent_id   = coder_agent.example.id
  agent_name = "main"
  subdomain  = false
}