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> |
11 months ago | |
---|---|---|
.. | ||
README.md | 11 months ago | |
main.test.ts | 1 year ago | |
main.tf | 11 months ago | |
run.sh | 11 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 |
|
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
}