PiGallery 2

Self-Hosted

Lightweight, fast self-hosted photo gallery optimized for personal collections

Visit Website

Overview

PiGallery 2 is an open-source self-hosted photo gallery designed for performance and simplicity. It supports AI-powered face recognition, EXIF data viewing, album organization, and responsive design for mobile access. Deploy easily via Docker (ideal for Raspberry Pi or any server) by pointing it to your photo directory—no complex setup required. Features include password-protected albums, dark mode, and support for multiple image/video formats, making it perfect for organizing personal photos without relying on third-party services.

Self-Hosting Resources

Below is a reference structure for docker-compose.yml. ⚠️ Do NOT run blindly. Replace placeholders with official values.

docker-compose.template.yml TEMPLATE

version: '3'
services:
  pi_gallery_2:
    image: <OFFICIAL_IMAGE_NAME>:latest
    container_name: pi-gallery-2
    ports:
      - "8080:<APP_INTERNAL_PORT>"
    volumes:
      - ./data:/app/data
    restart: unless-stopped

Key Features

  • AI face recognition for photo tagging
  • Docker deployment (Raspberry Pi-friendly)
  • Responsive design for mobile and desktop

Frequently Asked Questions

? Is PiGallery 2 hard to install?

No—deploy via Docker with a simple command, or use pre-built binaries. It works on Raspberry Pi or any Linux server; just map your photo folder to the container for instant access.

? Is it a good alternative to Google Photos?

Yes for self-hosted users—it offers full privacy and control over your photos, though it lacks cloud sync and advanced editing tools. Ideal if you want to keep your data local.

? Is it completely free?

Yes—PiGallery 2 is open-source under the MIT License, with no hidden costs or premium tiers. All features are available for free to self-host.

Top Alternatives

Google Photos Compare
Apple Photos Search Google

People Also Ask about PiGallery 2

PiGallery 2 vs Google PhotosPiGallery 2 vs Apple Photos PiGallery 2 2025 review PiGallery 2 docker-compose example

Tool Info

Pricing Free/Open Source
Category Photo Galleries
Platform Self-Hosted

Pros

  • Privacy-focused (full control over data)
  • No subscription fees
  • Optimized for low-resource devices

Cons

  • Limited advanced photo editing tools
  • AI face recognition needs initial processing time
  • No built-in cloud sync functionality

More Photo Galleries Tools