Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
services:librephotos [2024/02/27 12:47] – created willy | services:librephotos [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LibrePhotos ====== | ||
- | |||
- | [[https:// | ||
- | |||
- | There are other solutions out there like: | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | |||
- | LibrePhotos seems a fine solution while providing a good web UI and nice Android apps both official [[https:// | ||
- | |||
- | The biggest drawback to LibrePhotos is that is does not support sub-paths in the Web UI, so you need to expose a port over your tunnels at this time, bypassing NGINX reverse proxy, it's authentication ans HTTPS (this could probably be set-up for LibrePhotos manually). | ||
- | |||
- | The base-url issue can be tracked [[https:// | ||
- | |||
- | You will be using //Podman// because base-metal install is pretty complex. Refer to [[gentoo: | ||
- | |||
- | The composer YAML is here: | ||
- | <code bash | ||
- | useradd -d / | ||
- | su - librephotos | ||
- | git clone https:// | ||
- | cd librephotos-docker | ||
- | cp librephotos.env .env | ||
- | </ | ||
- | |||
- | now edit your **.env** and at very least set: | ||
- | < | ||
- | scanDirectory=/ | ||
- | data=/ | ||
- | httpPort=2283 | ||
- | </ | ||
- | |||
- | set any port you like. 2283 is just an example. Then start the containers: | ||
- | <code bash> | ||
- | cd / | ||
- | podman compose up -d | ||
- | </ | ||
- | |||
- | Refer to the above linked page on containers on Gentoo to find out how to restart the containers on boot. | ||
- | |||
- | ===== Reverse Proxy ===== | ||
- | |||
- | Since LibrePhotos does not support subpaths, you cannot use NGINX to serve it. The best solution you cna use is to add a tunnel for port **2283** from your server to your external server, and maybe also add an automatic recirect in NGINX: | ||
- | |||
- | <file conf librephotos.conf> | ||
- | location /photos { | ||
- | auth_pam off; | ||
- | | ||
- | } | ||
- | </ | ||
- | |||
- | Refer to [[selfhost: | ||
- | |||