mirror of
https://github.com/coder/registry.git
synced 2026-06-02 20:48:14 +00:00
fix(filebrowser): use updated flag for baseURL (#626)
Co-authored-by: Atif Ali <atif@coder.com>
This commit is contained in:
@@ -14,7 +14,7 @@ A file browser for your workspace.
|
|||||||
module "filebrowser" {
|
module "filebrowser" {
|
||||||
count = data.coder_workspace.me.start_count
|
count = data.coder_workspace.me.start_count
|
||||||
source = "registry.coder.com/coder/filebrowser/coder"
|
source = "registry.coder.com/coder/filebrowser/coder"
|
||||||
version = "1.1.3"
|
version = "1.1.4"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -29,7 +29,7 @@ module "filebrowser" {
|
|||||||
module "filebrowser" {
|
module "filebrowser" {
|
||||||
count = data.coder_workspace.me.start_count
|
count = data.coder_workspace.me.start_count
|
||||||
source = "registry.coder.com/coder/filebrowser/coder"
|
source = "registry.coder.com/coder/filebrowser/coder"
|
||||||
version = "1.1.3"
|
version = "1.1.4"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
folder = "/home/coder/project"
|
folder = "/home/coder/project"
|
||||||
}
|
}
|
||||||
@@ -41,7 +41,7 @@ module "filebrowser" {
|
|||||||
module "filebrowser" {
|
module "filebrowser" {
|
||||||
count = data.coder_workspace.me.start_count
|
count = data.coder_workspace.me.start_count
|
||||||
source = "registry.coder.com/coder/filebrowser/coder"
|
source = "registry.coder.com/coder/filebrowser/coder"
|
||||||
version = "1.1.3"
|
version = "1.1.4"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
database_path = ".config/filebrowser.db"
|
database_path = ".config/filebrowser.db"
|
||||||
}
|
}
|
||||||
@@ -53,7 +53,7 @@ module "filebrowser" {
|
|||||||
module "filebrowser" {
|
module "filebrowser" {
|
||||||
count = data.coder_workspace.me.start_count
|
count = data.coder_workspace.me.start_count
|
||||||
source = "registry.coder.com/coder/filebrowser/coder"
|
source = "registry.coder.com/coder/filebrowser/coder"
|
||||||
version = "1.1.3"
|
version = "1.1.4"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
agent_name = "main"
|
agent_name = "main"
|
||||||
subdomain = false
|
subdomain = false
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ if [[ ! -f "${DB_PATH}" ]]; then
|
|||||||
filebrowser users add admin "coderPASSWORD" --perm.admin=true --viewMode=mosaic 2>&1 | tee -a ${LOG_PATH}
|
filebrowser users add admin "coderPASSWORD" --perm.admin=true --viewMode=mosaic 2>&1 | tee -a ${LOG_PATH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
filebrowser config set --baseurl=${SERVER_BASE_PATH} --port=${PORT} --auth.method=noauth --root=$ROOT_DIR 2>&1 | tee -a ${LOG_PATH}
|
filebrowser config set --baseURL=${SERVER_BASE_PATH} --port=${PORT} --auth.method=noauth --root=$ROOT_DIR 2>&1 | tee -a ${LOG_PATH}
|
||||||
|
|
||||||
printf "👷 Starting filebrowser in background... \n\n"
|
printf "👷 Starting filebrowser in background... \n\n"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user