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.
		
		
		
		
		
			
				
					
						
							Co-authored-by: Muhammad Atif Ali <me@matifali.dev>  | 
			1 year ago | |
|---|---|---|
| .. | ||
| README.md | 1 year ago | |
| main.test.ts | 2 years ago | |
| main.tf | 1 year ago | |
| run.sh | 1 year ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	| display_name | description | icon | maintainer_github | verified | tags | ||
|---|---|---|---|---|---|---|---|
| File Browser | A file browser for your workspace | ../.icons/filebrowser.svg | coder | true | 
  | 
File Browser
A file browser for your workspace.
module "filebrowser" {
  source   = "registry.coder.com/modules/filebrowser/coder"
  version  = "1.0.8"
  agent_id = coder_agent.example.id
}
Examples
Serve a specific directory
module "filebrowser" {
  source   = "registry.coder.com/modules/filebrowser/coder"
  version  = "1.0.8"
  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.8"
  agent_id      = coder_agent.example.id
  database_path = ".config/filebrowser.db"
}
Serve from the same domain (no subdomain)
Make sure to set both workspace_name and owner_name.
module "filebrowser" {
  source         = "registry.coder.com/modules/filebrowser/coder"
  agent_id       = coder_agent.main.id
  workspace_name = data.coder_workspace.me.name
  owner_name     = data.coder_workspace_owner.me.name
}
			
		