all right guys and welcome back to another apricot video thanks for coming back for another week here
glad to have you back it's good to be back as well i hope you've been enjoying your adventures
in your self-hosting journey and we hope today we can bring you a new application that might
interest you for those who are like myself and have used google photos for the past few years
but want to go to a self-hosted solution this might be the one for you today we're going to be
covering photo prism we'll show you how to set it up on unraid how to get it going how to configure
it and how to use it don't forget to like and subscribe if you like our content become a member
on our website and in our discord and if you like you can help support us as well by signing up
as a member or providing a donation via paypal so without further ado let's get stuck into it
so guys here we are on their website photoprism.app so photoprism as it says here
is a privately hosted app for browsing organizing and sharing your photo collection it makes use of
the latest technologies to tag and find pictures automatically without getting in your way
so you can say goodbye to uploading your visual memories to the cloud and i say that in quotation
marks of course because obviously the cloud is just basically a computer somewhere in the world
and typically it's owned by someone like google so it really pays to pay attention to apps like
this especially when they're free and open source because they want to promote an open
source future they help us develop a relationship with developers who want to give you the control
of your data and information and keeping it inside your house is always a massive benefit
obviously having it up in the cloud means you're at risk of a that information being leaked
or someone getting access to something that they probably shouldn't it also provides you that extra
bit of privacy knowing that your data is safe it's stored in your own methods using your own security
mechanism obviously of course then you have to implement your own security standards that make
sure that it's locked down correctly and we've covered a lot of that security stuff in terms
of our cloudflare videos our tunnel videos you know nginx proxy manager all that sort of stuff
we've covered already so we hope that and assume that you've already set that stuff up correctly
so here we are on their website now if i just have a scroll through we can have a look at
some of the things they've got here there's not much to it but it doesn't need much it makes a
lot of sense already as it is so we'll break we'll briefly go over and see what we can find
so it's got a nice web interface it indexes everything without worrying about duplicates
and it has reverse coding and automated tagging pretty cool features there already
now have a look at the developer's mission okay because we think it's really important so we love
taking photos privacy concerns and the wish to properly archive them for the next generation
brought us to the conclusion that existing cloud solutions are not the right tools to keep them
organized that's why we've developed an easy to use application that can be hosted at home or
on a private server excellent mission there and we'd love to support that sort of stuff
so let's click on their features here and we'll have a brief look at what they've got
so it runs everywhere and in our scenario today we're going to be running in docker on unraids
which is always a bonus because of how simple that is to set up it's got smart search so it
automatically classifies your pictures using a pre-trained google tensorflow model so you
basically browse and filter the library by a whole bunch of different attributes pictures are marked
as private archived or under review won't show up in search results to reduce the noise so if you've
got pictures in there that you don't really want coming up in the massive bulk that you might have
you don't have to worry about that it's also got built-in high resolution maps to see where
you've been and for going to those places to find the photos that you took there really really cool
especially if you're one who likes to travel a lot including myself not sure if you've done that
recently obviously with covert but eventually when things do finally open up you know you might be
taking more of those photos overseas or even around your own home country or your state
so this gives you a nice easy to look at map and you can say well how many beaches have i been to
here's all the beaches i've been so i can just click on that and away we go
you can also share the content with people that you want you can even set an expiry date on the
links that you share remote access so clients like microsoft windows explorer and apple's finder can
connect directly to photo prism so you can set that up straight in your windows explorer or
apple finder and have it as a directory that you can just go into mount it put stuff in there take
stuff out whatever you want metadata compatibility so you've got all the metadata that you might need
built into the app as well it's got duplicate detection don't have to worry about doubling up
tripling up on all your content and we'll be able to find duplicates and let you know so you can
manage that a bit better and save on space it also has raw image support so it automatically converts
raw image files to jpeg so they can be displayed in a web browser so this means if you're someone
like you know taking a lot of photos you might be a photographer you can still have the raw photos
stored in there and if you want to view them then you can view them via the browser and see
what you've got in your collection now there's a whole bunch of other features that they are
planning in their roadmap and i'll show that up real quick just so people can get an idea i have
a look at this a lot of development going on here so very very active development which is fantastic
to see updated four hours ago alright so that's on the github photo prism slash photo prism just
another note as well if you want to support the developers become a sponsor and help them out to
develop their work a little bit more and provide them the opportunity to grow and expand what they
can offer so i'll just leave this up here you can have a look they've got patreon as well
go ahead and support them there so guys with that brushed over let's get into the install and we'll
see what it looks like live and how we can install it ourselves for your own server at home all right
so we're in our unraid server we're ready to go osiris is waiting for us for the next command now
if you're having a look at my dash top if you're new to the channel and you haven't seen any of
this before and you're wondering how can i can get my server to look like this we've covered it in
a few of our videos one being the docker folders video which will show you how to set up these cool
docker folders here and keep everything containerized inside of a folder so first thing
we'll do as usual is we'll head to the app store in the app store search for photo prism and at the
moment each triple seven is the template provider for us today who has it up on the app store for us
so thank you to them for doing that we'll go ahead and click to install so let's have a
read of the description here there's usually you know if there's something that's a common issue
they'd like to put in the description myself included when i put up a template on the app
store so make sure you have a read of it and make sure we understand what's going on
so here database lockups if you have problems where the database locks up on you switch to a
mysql based database but you have to also set up a dedicated database for that for example mariadb if
you need help please visit the support thread of this container or the merida b thread now
alternatively we actually have a video on how to set up mariadb and administer it with adminer so
if you want to do that we have covered how to do that what we're going to do is just stick with
sqlite so its own built-in sqli and we'll see if that works if that doesn't work we'll come
back and do that as well but basically if you follow our mariadb video set up a database and
a user and all that jazz then in here it tells you exactly how you should put it in to this
field so if we were to copy that put it here for example we've got database user database password
the ip address and port which is usually 3306 and then you should just leave the rest as it is
and it should be fine since we're going to stick with sqlite we're just going to leave it at that
going up starting from the top of the template so here we have our data directory
which is saying go to the mnt cache app data photo prism so typically when you see a app
getting installed it is mnt user app data etc etc in this case it's going to the cache and
that's because obviously with something that's going to be loading all the time having it only
on the cache is probably the best option so i'd highly recommend you probably leave it at
that unless you have a reason to change it for the storage path mnt user pictures is it assuming that
you've set up a share just for pictures now if you haven't done that you can go ahead into shares
we can create a share called pictures do we want to use the cache pool will say yes and in fact
in this case it's probably best you have it as prefer so that it can always stay on the cache
since you want the stuff to load all the time if you don't and you only want to load stuff from
the array then you can change that as well just make sure you check here and read what that says
i always like to set a minimum free space on my shares split level is fine included disk is all
that's fine we'll click add share so if we go back to shares now we have our pictures
share ready to go i've just refreshed the page so that we can have the latest information in our
network type we're going to set that to our custom docker network we have a video on that if you
haven't seen it under the storage path if i just go back we can see our shares there so we make
sure we actually select the correct share as you saw before it had one with a capital letter that's
not the same share especially with linux make sure we're following the exact directory so if
we're going to import stuff we can put something here only if you want to use the import function
okay i'm not going to bother with that offensive uploads allow uploads that may be offensive valid
true or false flag offensive photos so if you want them to flag them you can as well
the website title as usual we're just going to give it a nice ibra tag there and we'll leave the
caption as it is i don't really care don't care about description don't care about the author
that's fine all right but if you're setting up maybe you want to set up like a photo prism for a
business or something to show off your photography you can probably customize that a little bit more
and just have a little bit more appealing which might also help you with your seo for google
and things like that we've then got initial admin password so make sure you put that in
and as you can see it says here if you don't want to use a password delete this entry
and create another variable with the key photo prism underscore public and the value of true
perhaps if you wanted a public-facing you know portfolio or something like that as we said before
that's something you might want to consider as well the built-in web ui port two three four two
that's fine i don't have that allocated to anything and if i did android will tell me
anyway uh the auto index and auto input import safety delay so it tells you there what it is
it's a safety delay if you're using those auto imports under more settings you've got even more
things here that you can configure these are things that will change the way you interact
with the application so i highly recommend you probably leave it as is not really mess with
anything unless you know what you're doing once we're happy with that go ahead and click apply
we'll click done and we'll go to our docker tab as you can see we're sitting here up in the list
if we left click and go to web ui that'll take us to our first page so as we said we configured an
initial password so put in the password and click sign in and here we are so pretty simple setup you
know we've got the template configured and the rest is pretty much ready for us to start as
you can see it couldn't find anything that's fine we don't really have anything there we'll expand
the sidebar out and we'll go through this real quick so the first tab we're on is the search tab
obviously if you're going to search for something in your content this is where you would do it
you've then got your album so you can sit here and create your albums if you like you've got the plus
icon there followed by the upload followed by a reload you've got the same for video so if you
wanted to filter out videos you have that option as well you've then got your favorites moments a
calendar and here's that map that we were talking about before as well so look at that that's really
really cool i think it's a really smooth sort of interface you can sit here and you know zoom in
and see where things are going so i think maybe what we'll do is we'll actually upload a picture
and you can see here the first thing it's done is create an alp so on albums i've clicked plus
and created an album that's fine we'll open the album up and then we'll upload a picture
so here's my mistake if you wanted to add it to our album then we would type in the album or we
can check it click upload and then find a couple more images that you might like so here we are in
the album there's our album there's our picture open that up opens up in a nice big full screen
menu then got our folders with the pictures if we just go to places here it's not going to show
us anything because these photos don't have any metadata in them so what i've done here instead is
added a photo of one of my sons and as you can see it's pretty cute photo we'll go back
and now we can see that a number has generated next to some of these category tags in the side
so places for example as soon as i clicked on places it basically zoomed into the
exact place where the photo was taken because it was stored in the metadata of the photo
obviously for my own privacy i'm not going to zoom in further than this this basically shows i'm in
australia which is perfectly fine but if you was your own photos as soon as you click on it it
takes you pretty much to the precise address that you took the photo really really cool especially
like i said if you were traveling you've then got labels so is it a portrait you know it's got this
label here and any folders that it's in as well so if we click on library here for example then
you can start other options so you can go and do a rescan you can import files or folders and you
can check the logs as well in the settings we've then got more settings that we can configure as
well so we've got a theme that you can change as well so let's change the theme maybe we
like a different theme and a couple of these themes are locked to those who are paid
supporters which is perfectly fine there's still plenty of other options there that you can try
you've got options for your library maybe some of the stuff you want to turn off advanced features
that might be just trialing at this point and any sort of sync that you want so you can set up a web
dev and set up a server where it can constantly synchronize photos from it which is really cool so
maybe you have a migration happening and you want to get those photos onto here perfectly fine as
well so guys pretty straightforward application as you can see it doesn't need to be very convoluted
or over complicated it does exactly what it needs to do and what it says on the box which is always
a plus in our book so if you like this application you want to get your photos sorted and you want to
host it yourself this might be the best option for you i think you saw how quickly we set it up on
unraid it was a breeze we had it up and running in no time and you can manage your data yourself now
then comes the question of reverse proxying it if you want to access this from the outside i highly
suggest then you use a video our video on nginx proxy manager to get it out to the world and that
way you can access it remotely anywhere you are in the world knowing that it's stored at your own
server in your own home or wherever that might be so guys i hope you enjoyed that video please
don't forget to like and subscribe we really appreciate your support thank you for sticking
around with us we'd love to have you and we've got a big surprise coming up next week with the
unraid team and we can't wait to share it with you as well so we're really looking forward to
that we've also got a little project on the side that's currently running where we are operating a
news media outlet it's a little bit of a hobby project there's nothing really to it but if you're
interested in checking it out i'll drop the link down below for you to click on it and have a look
thanks again for watching and we'll see you in the next hibricorp video
you