News for hackers. Stuff that matters.
Re:What are your most used self-hosted applications? by tomwojcik on Wednesday May 04, 2022 @03:52PM (#31264981)
I'm late to the party but here's my list

- cadvisor - simple graphs of resource consumption, insights per docker stack

- cyberchef - a LOT of handy operations packed into one small app. Encode/decode any secrets you need and don't bother about privacy

- dozzle - logs browser from all docker stacks

- gogs - git mirror

- heimdall - all apps main panel

- minio - private S3 for my side projects

- nextcloud - private google drive / dropbox

- photoprism - photo management

- pypiserver - private pypi

- registry - docker registry (with UI)

- traefik - reverse proxy of all these services

- portainer - easily manage all of the above.

The coolest thing is that I don't even need to ssh into the instance (Synology NAS) to update / add / remove something. Literally everything can be achieved via portainer.example.com in this setup.

I just recently made my setup public so here's the repo if you're interested. https://github.com/tomwojcik/homeserver-traefik-portainer

Re:What are your most used self-hosted applications? by throwaway894345 on Wednesday May 04, 2022 @05:15PM (#31265945)
How is your minio setup working for you? I'd heard some bad reviews early on and stayed away from it. Do you run it in any high-availability mode? Have you tested backups/restores? Would like to hear anything you'd like to share about it.
Re:What are your most used self-hosted applications? by amanzi on Wednesday May 04, 2022 @09:13PM (#31268160)
Not the OP but I run a Minio instance in my homelab. It's not in HA-mode but is on a VM that is replicated across my 3 proxmox nodes. I just use a simple docker-compose file (17 lines) and haven't run into any issues yet.
Re:What are your most used self-hosted applications? by throwaway894345 on Wednesday May 04, 2022 @11:21PM (#31269019)
Very neat! If you lose a node, are you guaranteed to be able to recover from the other two? Are those VMs running on the same host?
Re:What are your most used self-hosted applications? by amanzi on Thursday May 05, 2022 @08:42PM (#31279885)
I have three physical nodes (Dell micro-PCs) and the VM will automatically failover if one node is lost. It's not quite instant but meets my requirements fine.
Re:What are your most used self-hosted applications? by tomwojcik on Thursday May 05, 2022 @04:13AM (#31270857)
It's not HA. It's part of my pre-production env where my app works normally without inflicting any additional costs. I never heard of any MinIO production stories. I don't use backups/restores.
Re:What are your most used self-hosted applications? by poglet on Wednesday May 04, 2022 @06:22PM (#31266627)
Thanks for the info about photoprism. How does it handle videos, I have tonnes of home videos that I have no idea how to organise or manage.
Re:What are your most used self-hosted applications? by tomwojcik on Thursday May 05, 2022 @04:22AM (#31270913)
PhotoPrism is something everyone recommends. TBH I haven't had a chance to try it with my entire library yet (I'm moving from Moments to NextCloud with PhotoPrism). I probably won't be using it with videos either, so sadly I can't answer your question.
Re:What are your most used self-hosted applications? by sk8terboi on Wednesday May 04, 2022 @07:00PM (#31266977)
It doesn't do well with them, basically it'll transcode everything so it's quicker to serve up, that's about it. Anybody use anything good to organize home videos?
Re:What are your most used self-hosted applications? by mceachen on Wednesday May 04, 2022 @09:28PM (#31268262)
It depends on what you mean by "organize home videos."

I'm building PhotoStructure, which is (yet another) photo and video organizing app. It only transcodes videos that won't render properly on popular desktop and mobile browsers (what it does and doesn't transcode is configurable, and _how_ it transcodes is also configurable--I use ffmpeg or vlc under the hood).

The biggest issue with videos is probably their common lack of metadata: they never include timezones (but sometimes include GPS, so PhotoStructure uses that to infer TZ), so I had to build a "metadata inference" engine to glean metadata from relevant "sibling" files.

I also pull in any metadata from sidecars (XMP, MIE, EXIV2, and Google Takeout JSON), so that can help flesh out more browsable aspects: PhotoStructure browsing is all hierarchical tag based, including date hierarchies, keyword hierarchies, filesystem hierarchies, and file type hierarchies.

Note that PhotoStructure is freemium commercial software: if you want to give it a spin, here's a 15% off coupon: "HN15". Details about pricing are on https://photostructure.com/about/pricing/

Re:What are your most used self-hosted applications? by graciousgrey on Thursday May 05, 2022 @01:54AM (#31270014)
PhotoPrism only transcodes videos that are not natively supported by most modern browsers, see

https://docs.photoprism.app/user-guide/organize/video/

Metadata is extracted from videos and potential sidecar files.

Transcoding can be turned off in settings:

https://docs.photoprism.app/user-guide/settings/advanced/#di...

More finetuning of ffmpeg parameters can be done using config options:

https://docs.photoprism.app/getting-started/config-options/#...

Re:What are your most used self-hosted applications? by toby_tw on Wednesday May 04, 2022 @05:18PM (#31265999)
Why self host cyberchef? It runs completely in the browser, and you can load it from github pages.
Re:What are your most used self-hosted applications? by lolinder on Wednesday May 04, 2022 @06:32PM (#31266721)
Not OP and I've never seen CyberChef before, but personally I'm very uncomfortable pasting secrets into any web application, even an open-source one.

Self-hosting would at least give me the guarantee that the code I'm running is the same code I ran last week: If nothing left my browser then, it probably isn't leaving my browser today.

I don't get that guarantee with someone else's hosted version.

Re:What are your most used self-hosted applications? by tomwojcik on Thursday May 05, 2022 @04:16AM (#31270867)
Exactly what @lolinder says. If I pin the version of cyberchef, I don't need to worry about leaking secrets _ever_. And I'm very anxious about pasting something to the first "decode base64" search engine result.
Re:What are your most used self-hosted applications? by zuhsetaqi on Friday May 06, 2022 @07:36AM (#31283932)
Any reason why you chose photoprism instead of Synology offers (Synology Photo)?
Re:What are your most used self-hosted applications? by atomicnumber3 on Wednesday May 04, 2022 @10:44PM (#31268756)
what docker registry UI do you use? (afaik the official registry image doesn't have a web ui?)
Re:What are your most used self-hosted applications? by tomwojcik on Thursday May 05, 2022 @04:24AM (#31270920)
That's correct, the registry is just a registry and you can make it work with any frontend. I use konradkleine/docker-registry-frontend:v2. See here https://github.com/tomwojcik/homeserver-traefik-portainer/bl...