TemplatesModules
Back to Modules
File Browser Icon

File Browser

By:
A file browser for your workspace
README
Variables (10)
Scripts (1)
Apps (1)
Source

A file browser for your workspace.

1module "filebrowser" {
2  source   = "registry.coder.com/modules/filebrowser/coder"
3  version  = "1.0.23"
4  agent_id = coder_agent.example.id
5}

Filebrowsing Example

Examples

Serve a specific directory

1module "filebrowser" {
2  source   = "registry.coder.com/modules/filebrowser/coder"
3  version  = "1.0.23"
4  agent_id = coder_agent.example.id
5  folder   = "/home/coder/project"
6}

Specify location of filebrowser.db

1module "filebrowser" {
2  source        = "registry.coder.com/modules/filebrowser/coder"
3  version       = "1.0.23"
4  agent_id      = coder_agent.example.id
5  database_path = ".config/filebrowser.db"
6}

Serve from the same domain (no subdomain)

1module "filebrowser" {
2  source     = "registry.coder.com/modules/filebrowser/coder"
3  agent_id   = coder_agent.example.id
4  agent_name = "main"
5  subdomain  = false
6}