Skip to content

napalmz/Magic-Photo-Gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Magic Photo Gallery

This is an all-in-one image gallery which you simply put inside your images directory and open with a browser. It requires and HTTPD server with PHP support.

Just simply use my docker image, as shown here.

Screenshots

App Screenshot

Deployment

First, move to your image directory and download the app:

wget https://raw.githubusercontent.com/napalmz/Magic-Photo-Gallery/main/index.php

Then, spinup a docker container (using compose):

services:
  httpd-server-main:
    image: napalmzrpi/httpd-base:latest
    container_name: httpd-server-main
    environment:
      - TZ=Europe/Rome
    volumes:
      - "/my/app/directory/config:/var/www/site"        # Store PHP app and configurations
      - "/my/app/directory/log:/var/log/apache2"        # Store APACHE/PHP logs
      - "/my/photo/directory1:/var/www/site/Photo 1:ro" # Safely store pictures, it's READ ONLY
      - "/my/photo/directory2:/var/www/site/Photo 2:ro" # Safely store pictures, it's READ ONLY
      - "/my/photo/directory3:/var/www/site/Photo 3:ro" # Safely store pictures, it's READ ONLY
    ports:
      - 80:80
    restart: always

About

An all-in-one image gallery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages