User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
services:pigallery2 [2024/03/11 14:02] – created willyservices:pigallery2 [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== PiGallery2 ====== 
- 
-[[http://bpatrik.github.io/pigallery2/|PiGallery2]] is a fast and efficient photo viewer for your photo collections. 
- 
-===== Installing ===== 
- 
-Create a **pigallery2** user belonging to group **photos**: 
-<code bash> 
-groupadd photos 
-useradd -d /data/daemons/pigallery2 -m -g photos pigallery2 
-</code> 
- 
-Installing on bare-metal on Gentoo is not easy because some dependencies still require Python 2 (!!!) it seems. Going containers is currently the best approach. See [[gentoo:containers|Using Containers on Gentoo]] for more details on containers in Gentoo. 
- 
-Grab the docker-compose file and start it, be sure to grab the one without NGINX: 
-<code bash> 
-su - pigallery2 
-wget https://github.com/bpatrik/pigallery2/raw/master/docker/docker-compose/pigallery2-only/docker-compose.yml 
-</code> 
- 
-now edit it. Change the port from //80// to **3011** (of course, pick your preferred port!), and setup properly your folders. 
- 
-Also, add the following lines to the end of the docker-compose file: 
-<code> 
-networks: 
-  pigallery2-net: {} 
-  </code> 
-  to segregate Pigallery2 to it's own subnetwork. 
-   
- 
-==== Starting and autostart on boot ==== 
- 
- 
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information