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.
47 lines
926 B
Markdown
47 lines
926 B
Markdown
---
|
|
display_name: File Browser
|
|
description: A file browser for your workspace
|
|
icon: ../.icons/filebrowser.svg
|
|
maintainer_github: coder
|
|
verified: true
|
|
tags: [helper, filebrowser]
|
|
---
|
|
|
|
# File Browser
|
|
|
|
A file browser for your workspace.
|
|
|
|
```tf
|
|
module "filebrowser" {
|
|
source = "registry.coder.com/modules/filebrowser/coder"
|
|
version = "1.0.0"
|
|
agent_id = coder_agent.example.id
|
|
}
|
|
```
|
|
|
|

|
|
|
|
## Examples
|
|
|
|
### Serve a specific directory
|
|
|
|
```tf
|
|
module "filebrowser" {
|
|
source = "registry.coder.com/modules/filebrowser/coder"
|
|
version = "1.0.0"
|
|
agent_id = coder_agent.example.id
|
|
folder = "/home/coder/project"
|
|
}
|
|
```
|
|
|
|
### Specify location of `filebrowser.db`
|
|
|
|
```tf
|
|
module "filebrowser" {
|
|
source = "registry.coder.com/modules/filebrowser/coder"
|
|
version = "1.0.0"
|
|
agent_id = coder_agent.example.id
|
|
database_path = ".config/filebrowser.db"
|
|
}
|
|
```
|