We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff25e6 commit 3c3daeeCopy full SHA for 3c3daee
registry/coder/modules/filebrowser/run.sh
@@ -25,6 +25,7 @@ export FB_DATABASE="${DB_PATH}"
25
# Check if filebrowser db exists
26
if [[ ! -f "${DB_PATH}" ]]; then
27
filebrowser config init 2>&1 | tee -a ${LOG_PATH}
28
+ filebrowser users add admin "" --perm.admin=true --viewMode=mosaic 2>&1 | tee -a ${LOG_PATH}
29
fi
30
31
filebrowser config set --baseurl=${SERVER_BASE_PATH} --port=${PORT} --auth.method=noauth --root=$ROOT_DIR 2>&1 | tee -a ${LOG_PATH}
0 commit comments