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/README.md

1.3 KiB

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" {
  count    = data.coder_workspace.me.start_count
  source   = "registry.coder.com/modules/filebrowser/coder"
  version  = "1.0.29"
  agent_id = coder_agent.example.id
}

Filebrowsing Example

Examples

Serve a specific directory

module "filebrowser" {
  count    = data.coder_workspace.me.start_count
  source   = "registry.coder.com/modules/filebrowser/coder"
  version  = "1.0.29"
  agent_id = coder_agent.example.id
  folder   = "/home/coder/project"
}

Specify location of filebrowser.db

module "filebrowser" {
  count         = data.coder_workspace.me.start_count
  source        = "registry.coder.com/modules/filebrowser/coder"
  version       = "1.0.29"
  agent_id      = coder_agent.example.id
  database_path = ".config/filebrowser.db"
}

Serve from the same domain (no subdomain)

module "filebrowser" {
  count      = data.coder_workspace.me.start_count
  source     = "registry.coder.com/modules/filebrowser/coder"
  version    = "1.0.29"
  agent_id   = coder_agent.example.id
  agent_name = "main"
  subdomain  = false
}