SelfHostCorner

perronedotdev
perronedotdev

Posted on • Originally published at perrone.dev on

Docker Compose: The Photo Gallery

A simple, featureless (By design) full-width photo gallery.

This is a very simple photo gallery that does exactly what it needs to do. Check out the demo.

version: "2.4"
services:
  thephotogallery:
    container_name: thephotogallery
    image: inlustra/the-photo-gallery:0.0.3
    ports:
      - 3000:3000
    volumes:
      - {YOUR_PHOTOS_DIRECTORY}:/app/public/photos:ro
      - {A_STORAGE_LOCATION}:/app/storage
    environment:
      PAGE_TITLE: 'The Photo Gallery'
      PAGE_HEADER_TEXT: 'Inlustra'
      PAGE_SHOW_FULLSCREEN_BUTTON: 'true'
      PHOTO_SORT: numerical_file_name
      PHOTO_DEFAULT_REVERSE: 'false'
    restart: unless-stopped
Enter fullscreen mode Exit fullscreen mode

Remember to change ports and paths, if needed.

💡

Visit the official GitHub for more info.

Top comments (0)