User Tools

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:homegallery [2024/03/18 12:39] willyservices:homegallery [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== HomeGallery ====== 
-[[https://home-gallery.org|HomeGallery]] is a nice photo gallery to be self-hosted. 
- 
-===== Installation ===== 
- 
-Full documentation is well maintained and csan be found [[https://docs.home-gallery.org/install/index.html|here]]. 
- 
-Create a **homegallery** user as a memeber of the **photos** group: 
-<code bash> 
-useradd -d /deposito/daemons/homegallery -m -g photos homegallery 
-su - homegallery 
-curl -sL https://dl.home-gallery.org/dist/latest/home-gallery-latest-linux-x64 -o gallery 
-chmod 755 gallery 
-</code> 
- 
-===== Configuration ===== 
- 
-Full configuration is [[https://docs.home-gallery.org/configuration/index.html#configuration|here]]. 
- 
-First of all, run //HomeGallery// to let it initialize the configiuration: 
-<code bash> 
-./gallery run init --source ~/Pictures 
-</code> 
- 
-Now you can edit the **/data/daemons/homegallery/.config/home-gallery/gallery.config.yml**. In detail, you will want to edit at least the following values: 
-<file - gallery.config.yml> 
-server: 
-  port: 3022 
-  host: '127.0.0.1' 
-  BasePath: /gallery 
-</file> 
-C 
-<code bash> 
-./gallery run server 
-</code> 
- 
- 
-===== Reverse Proxy ===== 
- 
-Example NGINX configuration: 
-<file - gallery.conf> 
-location /gallery/ { 
-        proxy_pass http://127.0.0.1:3022/; 
- 
-        proxy_http_version 1.1; 
-        proxy_set_header Upgrade $http_upgrade; 
-        proxy_set_header Connection 'upgrade'; 
-        proxy_set_header Host $host; 
-        proxy_cache_bypass $http_upgrade; 
-} 
-</file> 
- 
-Refer to [[selfhost:nginx|The Reverse Proxy concept]] for more details. 
- 
-===== Startup ===== 
- 
- 
-===== Upgrade ===== 
- 
-See [[https://docs.home-gallery.org/install/index.html#upgrade-the-gallery|here]]: 
- 
-<code bash> 
-mv gallery gallery.old 
-curl -sL https://dl.home-gallery.org/dist/latest/home-gallery-latest-linux-x64 -o gallery 
-chmod 755 gallery 
-./gallery run import 
-./gallery run server & 
-</code> 
- 
- 
- 
  

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