I'm just reposting this here because I was looking for an iCloud / Google Photos replacement for a long time. Apparently, it's a Docker with PostgreSQL inside (so should be very durable) and you can put it on your own NAS and it has iOS and Android apps ready. Search includes private cloud-free face recognition and CLIP vectors, meaning it's state of the art.
I've been playing around with Immich the last few days, and I really like it but I think it's important to stress this warning -> 'The project is under very active development. Expect bugs and changes. Do not use it as the only way to store your photos and videos!'.