Self Hosted iCloud/Google Photos Alternative! (Immich + Docker)

preview_player
Показать описание
Immich is a free and open source photo and video backup solution that you can self-host on any computer! It allows you to maintain your privacy and have complete control over your data. It’s a great alternative to cloud photo storage with features such as smart search, facial recognition, and much more. Subscribe to see more server related content!

Links/Snippets from the Video (in order):
Nvidia GPU support in docker:
Install latest Nvidia Driver on Windows/Linux
Restart computer for docker to get access to your gpu
Or run 'sudo systemctl restart docker' if ur on Linux
MACHINE_LEARNING_GPU_ACCELERATION=cuda
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0'] # put a hashtag in front
count: 1 # number of GPUs
capabilities: [gpu]

Docker Playlist:

Timestamps
0:00 Quick Demo
1:51 Setting up Immich in Docker Compose
2:41 Creating the Compose file
3:17 Environment Variables
4:19 GPU Acceleration
5:54 Volumes
6:46 External Library vs Immich Library
7:57 Giving Docker Access to an External Library
8:47 Ports
9:15 Redis Configuration
9:41 Postgres Configuration
10:09 Saving the Compose file
10:25 Starting Immich
11:12 Accessing the Webpage
12:50 Adding an External Library
13:37 Monitoring Immich
13:58 Important External Library Setting
14:38 Outro
Рекомендации по теме
Комментарии
Автор

I don’t think I made this clear enough in the video, but if you will be uploading photos and videos directly from the immich app, feel free to put the photos directory wherever you want. In the video I just typed “./photos” meaning all of the photos would be stored in the same drive and place as the docker compose file. But you can put this anywhere you like. If you had another drive you wanted to put it on like a external hard drive you can just out the path to that there. Example: “/mnt/drive/photos:/photos”. And if you were on windows and wanted to access another drive it could be like “/mnt/z/photos:/photos”

MadhuKraft
Автор

one of the best guides for anything I've ever seen. Thanks.

jacedana
Автор

I’ve been looking for this everywhere and finally found one that worked 😭😭😭 TYSM

blingblong
Автор

Holy flip this is THANKS MADHU! Your my hero!

samitmanjunath
Автор

Holy shit, this is exactly what I was looking for!

Contmotore
Автор

Great video! Can you make a video on how to backup the Immich photos and database? One thing is to get it running, but would hate for something to go wrong and lose all your photos.

SavannahTL
Автор

Can you explain how to setup a Backup for the AppData on the Host System?

paulepinguin
Автор

Thank you. Can you make a tutorial on how to migrate immich server?

jhPampoo
Автор

Man, I am just a regular dumbo who has not enough IQ to self-host (or understand the logic of any of this) but hate the cloud and external services spying on me. I've managed to have 2 xpenology NAS with immich but I have NO IDEA on how to restore the immich DB if it breaks and I need to make a container from scratch. (I got that you need to backup the library AND the DB cause it won't know how to restore pictures but I thought backing up the whole "immich-app" folder inside the docker folder from the container manager in dsm then copy back that entire backup after rebuilding the container would be enough but it does not work). Do you have any advice ?

E_Proxy
Автор

The recommended docker compose method is 100x easier than the method you just showed. So much more to edit and you have to create the files yourself. Have you tried the recommended way?

StuartKicks
Автор

How to import bulk photos? I need to import about 80, 000 photos that I got from Google takeout.

nolanmakes
Автор

Thanks so much for the video. Everything went along exactly as you described until I initiated the library scan. Then nothing happened. No errors, no messages in the log, no activity - just silence. What did I do wrong?

PaPaTheGMan
Автор

i did everything what was said in the video, I just can't seem to access the webpage - ERR_CONNECTION_REFUSED
Any idea how to solve this problem? Thank you in advance. It was a great video, not from a computer background so a bit difficult to go through these. the internet, proxy are fine btw.

twaynejack-son
Автор

Hey important question, is it possible to use my AMD rx 5700 for this and if so how? If not, does that mean I can't use immich's recognition features anymore? Also does the computer hosting the immich server have to always be on 24/7? Im guessing no and whenever its on you can start syncing again.

wiz
Автор

THANK YOU!!!! This dum dum dum linux folder structuring under a million different directories under anoter milion directories and ofcourse docker follows the idiotic structuring and finaly you said how to simply use the path to drive /mnt/drive letter... Simple as that drive and folder i want to use no billion different mounts upoun mounts upon random letrering its sooo annyoing! Thank you for this!

sale
Автор

I am getting this error whe I am trying to use the gpu
Error response from daemon: could not select device driver "nvidia" with capabilities: [[]]
its rtx 3060, ruuning docker on windows
without the gpu it running but I want to utilezed the gpu
appreciate the help

eli
Автор

i use it on synology but i got stock on path. /volume1/photo i want to put this path but i dont know where to add it

siprian