Scripted Installation of Photoprism and Caddy with options to run behind a reverse proxy, self-signed cert, or completely independent and managing/renewing its own certs automatically using Caddy.
This script will create a jail, install photoprism and caddy using a $FQDN of your choosing, and mount the data outside the jail. This makes it easy to rebuild the jail without losing your data. It will also acquire a valid Let’s Encrypt certificate and keep it renewed using Caddy.
Credits go to @scripsi for his guide, and @oridyn for his plugin script.
Reinstall is supported without having to move or backup your data.
Instructions and downloads are at https://github.com/tschettervictor/truenas-iocage-photoprism
This script will create a jail, install photoprism and caddy using a $FQDN of your choosing, and mount the data outside the jail. This makes it easy to rebuild the jail without losing your data. It will also acquire a valid Let’s Encrypt certificate and keep it renewed using Caddy.
Credits go to @scripsi for his guide, and @oridyn for his plugin script.
Reinstall is supported without having to move or backup your data.
Instructions and downloads are at https://github.com/tschettervictor/truenas-iocage-photoprism