I decided to take some effort upon myself to see if I could package PhotoPrism. I've got a version I've uploaded to Cloudron gitlab that seems good enough to use right now. Some notes:
- The software expects either MariaDB or Sqlite. I tried hooking up to MySql, but there were syntax issues. The current config uses sqlite, but can be changed to PGSQL once they implement that into PhotoPrism.
- PhotoPrism needed a newer go than was in the base cloudron image, so I found it easiest to remove the old go version and inplace put the newer version. This can be removed once base image is updated.
- To make things easier, I did use the precompiled tensorflow from PhotoPrism instead of compiling myself. The version I included requires AVX2 (https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX2)
- There might be a better way to handle the env vars than I did, but it works for now.
Hopefully this can be useful to someone wanting this software now or to help make something more official.