hi guys and welcome back to another ibra Corp video thanks for coming in and checking out the
channel today if you guys like what we're doing please think about liking and subscribing and
also check out our docs page you can also support us by signing up on our website ibracorp.io now
today we're going to be looking at an app called file browser a lot of people in our community have
been using it including some of our admins and I think it's about time we gave it some love I
think you guys really enjoy file browser it has some really cool features that we'll go through
but most notably you can manage all your files remotely anywhere you are in the world with a
nice easy to use interface one you're looking at right now on top of that you can also share
files really easily so let's say you have one particular file and you want to share it with
a family member or a friend it makes it really easy you can create a link send them the link
they pretty much have like a portal where they see that item that you've shared and they can just
download it from there it can really help cover your back when you need to get a file to someone
nice and quick so if this sounds interesting to you stick around let's just get stuck into it
so guys welcome back and today we're looking at file browser I'm here on the GitHub file
browser slash file browser and they also have a website filebrowser.org on here there's not
too much information just a lot of you know highlights on features but the big features
are all listed on their website of course if you click on that it'll take you through to this page
and it'll show you a whole bunch of stuff that you can follow through they also have really
good documentation so I recommend you read that if you're interested as well however we are also
putting up our own documentation that goes along with this video to get you going so feel free to
check that out at docs.ubricorp.io so here's our documentation we'll make this public when the
video goes live and if you're following through we have the two different sets of options for you
so if you're an unraid user you can easily follow this here's the template that we've selected and
we've also given you the exact options you fill out but things that you might need to know is we
want our custom Docker Network we want a fixed IP address if possible put put that in and then the
path that you want to share files from now if you don't want to share a top level folder and
everything below it you know obviously select a folder that you want specifically you might even
have a share called for sharing or file browser otherwise if you want to share your whole top
level you can just share something like MNT if you wish just understand the risks in doing so and if
you're happy with that go ahead and do it then you basically just click apply and you'll end up
on the install screen that we're going to show you you've also got the docker run option we've given
you that here that comes directly from the website and we've also written up a Docker compost version
here as well doesn't matter which method you decide to go with you have all those options here
ready to go now today I'm going to show you the docker compost option that's what I've been using
as my main but again we like to provide you with all those other options including unread as well
so let's just get stuck into it we'll jump into the install and we'll see what that looks like
now as you guys know we like to use code server for a lot of our modificational files what I'm
going to do first is create the directory and a couple of files and this is because once file
browser starts up it will try and create a couple of these files Docker will instead
create a folder if you don't have the files present and that gives us a little bit of a
template I suppose that comes from the website you'll see that and I'll show you that now
so our first command is to make a directory under our opt location where that's where I keep my
app data in your case you might have a different folder that slash op file browser also note that
I'm signed in as root so if you are not as root make sure you put sudo at the front if you are
running as root that should be fine so there we go we've created our directory let's go to it now
and now I'm in the folder now in this folder we're going to create two folders again
I'm going to create one called database and one called config and if we just type LS we can see
both of those folders are there now go into config so we'll go CD config obviously that folder is
empty now we're going to create a file in here and we're going to type in touch file browser.db
LS again and we have that file there now CD dot dot takes us a level up and then we'll go into CD
database now in here we're going to create another file called settings.json and then LS again and
we'll see that that's there now let's go back up a level and I need to set some permissions now
you guys might know that you come across issues with permissions I have a command that I run that
just helps me get through permissions issues not necessarily always the best practice if you guys
don't feel like you agree with that don't do it I'm going to show you the command now now
I just ran two commands and I could have changed this in many different ways there's a whole bunch
of ways you can but basically we're setting the owner to 1000 which is our user ID and group ID
for everything under opt and we're changing the permissions to triple seven on anything under
opt as well again not necessarily the best idea especially on the top level like that what I could
do is just do it on the folder we just created and below so file browser and below in that
case I will just put file browser here and here instead of the star we also then had to change the
permissions back for traffic because I did it on the top level you the permissions for the traffic
acme.json need to be 600 otherwise you're going to have issue so I then run that command to change it
back long way around I know but I've already got shortcuts for these Snippets so I kind of just
run them and it's just second nature definitely wouldn't recommend that way I would do it on the
file or folder you just created instead also the permissions of triple seven can be dangerous make
sure that you know what you're doing when you're applying those permissions so now we have a folder
and we have these files let's jump into our file browser or should I say code server and see how
we can go from here so here we are in code server if you guys haven't used code server we've covered
it in a video it's a really cool app and I highly recommend it especially for us self-hosters you
can expand file browser here and here's the two folders that we created and the files that go
along with them so those files exist we know they look good and we've got the permissions applied
to them so what we'll do now is run our Docker compost file and make sure that all meets up
but what we can do is in here under the top level so let's say under file browser itself we say new
file we create that Docker compose Dot yml and we paste in our Docker compose file this is all from
our documentation by the way so now all we need to do is we update all of our volumes and anything
like that that we need to if you're not using traffic make sure you take these out if you're
not using orphilia with traffic you can take this line out here also realize there's a mistake there
I've just fixed that so we'll fix that up in the documentation as well so now we need to make sure
the paths are correct so as you can see we've changed the volumes to match what we've created
so we have the opt file browser folder that's the root location then we have file browser database
and then we have config as well so that matches the folders that we've created and those files
belong in those locations now we'll save that that looks good we have our custom Docker Network
here which is called proxy and we have our image that's all set up now the port it's going to be
using is 8080 if you don't have that Port free obviously don't use it change it to something
else but we're happy with how it is so let's go back to our terminal and we'll execute that
so we're in our file browser folder still so we'll just type in LS and we can see the docker compost
file there so let's bring that up now Docker compos up hyphen d and as you can see 8080
is already taken so we will have to change that let's go back and I'll just say eight five eight
four doesn't matter I'm happy with that click save back to our terminal we'll just hit up on
the keyboard and we'll try pulling it again and there you go now it's launched fine so let's go
to the IP address and Port locally and see how that looks now guys if you followed up to this
point I did have to correct the volumes here to get that to work but by the time you're watching
this video the documentation is up to date as well so don't stress these volumes will be correct once
you're watching this video and it's now working so now let's jump into the UI like I said earlier
and we'll log in to the application whoa that's a big white screen let's just get into this real
quick and I'll help you change that right now so the username and password by default is admin
admin we'll click login and there we go we're in the system guys we are in the system now keep in
mind again I only shared the root folder of this application I didn't actually share any
other directory and I'm on with that so in that folder that we're seeing we're seeing the config
in database so let's go back to our compost file real quick and you'll see that this is the folder
that we've assigned or allocated in there which is opt file browser slash SRV I could change this
here to slash MNT if I wanted to and we could share a file out that way now we're signed in
let's go to settings and I'm going to help you help your eyes by avoiding the big white light
big thanks to disclock for this guide otherwise we'd all be blind so in settings going to here
then to go to global settings and then under branding you'll see here the theme let's go on
to dark and click update refresh and there we go back to our nice beautiful dark theme that's what
we like to see now all of us goblins out there we obviously like the dark theme it just helps
us read stuff in the dark especially but I've pretty much changed everything to Dark theme
in my life so I don't know how it lives without it honestly not that long ago now one thing you
might want to change is the default password and you can do that by going to user management here
clicking the pencil and then setting the password that you'd like to set you can also prevent users
from changing the password from that login screen that we saw Now by default opening folds and files
requires a double click if we want to make the file browser behave more like a website
and respond to single click then we can adjust that as well so all we need to do in that case
is again in the settings that we're in then go to profile settings and here you'll see use single
clicks to open files and directories so let's check that the other thing we can do is set our
language now a lot of our community is global around the world we have community members from
all sorts of places in the world you might want to change your language right here which is a lovely
option from the developers so a nice touch there but if you go back to global settings we can even
set the default language all around so we can say the default language for users is Romanian
I'm not going to do that otherwise we might have a problem so let's leave it as English for now
another thing you might really enjoy doing is customizing your instance which is pretty easy
to do so for example for one we can change our instance name so we can say every file for example
which is great being able to customize our instance really makes it unique for us and
it's going to look great if you're using it for for example sending it to a client you want a
client to get a file for you then you can have your branding on that link so when they open
the link up it's your branding on there and you simply download the file now let's go back to my
files here and I'll show you the important parts of managing files and folders of course now on
the left we see two options to create a new folder or file at the location that we're in So currently
we're in the top level of the folder we've mapped to SRV now let's go into config and I've created a
test file here if you need to create another file you can just go new file give it a name we'll say
test2 it will open up an editor so we can put in whatever we want in here and then we click save
and then we exit and now you can see I've got these two files here now let's select
the file and then in the top you'll notice that there are some options at the top as well
if you hover over them you'll see exactly what they say we can also upload files so
in this config location why don't I go ahead and I'll upload a file here we go I've uploaded our
ipricorp favicon as we can also then download the file of course you can just download that however
you like you've then also got all these other options here let's say we want to share this which
is the most important thing I think you guys will enjoy so sharing is interesting because we want to
be able to access it remotely so it goes without saying that this is assuming you've now reversed
proxied file browser if you don't know how to do that check out our playlist on reverse proxies
we've covered traffic we've covered nginx proxy manager we've covered swag a lot of options for
you to use and how to use them but we're going to assume you've done that now now once you've
done that you're giving the person the full link now how long do you want to share this for you can
set seconds minutes hours or days we're going to say eight hours for example you can also set an
optional password if you wish to help protect that link go ahead and click share and it will give you
a hash code right here it also tell you how long is left on that code now if you just copy this it
will give you the link and then you can go ahead and paste that and the best way to test that is
probably an incognito page so let's go Incognito and just so you can see the link here you've got
the IP address in our case we're using it locally again I assume that you have reverse proxy this
so it would appear as filebrowser.domain.com share slash that code if we just click on it
this is what people will see on that link again if you have your custom branding you'll have that
here as well this will tell them the name of the file when it was last modified the size and it
will give them the ability to download it they can also open it and there's a QR code to make
it even easier again so this is really really cool I think that's one of the best parts about this to
be perfectly honest now you can move files you can copy files you can delete files you can open up a
shell you can select multiple stuff you can even change the view on how you want it to look which
is great then if you go into settings you've got all sorts of share Management in here so there's
our link that we created we can go ahead and Bin that if say for example we don't want it anymore
then you've got more global settings that you can go through such as the command Runner and
these are where you can set commands that are executed in named events now it's a bit Advanced
like it says whether you want to do that or not is up to you you can also allow users to sign up
and create user home directories when adding new users now that's pretty much it guys if you're
looking for an easy tool to help share links share files with your family and friends and you don't
want to rely on some third party why not check out file browser I think it's a pretty cool app
again guys if you want to help support us please do think about subscribing and hitting the like
button it really helps the channel out and we would really appreciate it you can also check
out our docs page docs.ibricorp.io for all the latest guides and latest updates to our
existing video guides if you want to help support us financially please think about
becoming a subscriber on our website all your donations help go straight back into our content
and it gives you a fancy little Discord role when you join our Discord and we've got some
more announcements coming soon regarding Uber merch we're having some merchandise coming out
I'm currently testing it to make sure it's good quality before I tell you guys too much
about it because I wouldn't want you buying anything less than good quality from us we're
also helping out with a project from techno Tim so thanks techno Tim for getting in touch
with us about that we really appreciate being part of your all project and it looks like a
really fun one be sure to check that out over on Twitter if you like 100 days of Home lab
thanks guys hope you enjoyed that and I can't wait to see you in the next yib record video