Photo Album
I am pretty happy with the clever solution I came up with for the photo album. InsteadThis ofuses describingseafile to populate the photo directory, and then pigallery to build the album. This allows you to maintain a folder on your desktop with all your photos on it, here'sand then sync that with seafile, and then seafile syncs it again on the docker-composeserver. file.I have naturally redacted any
services:seafile-client:restart: alwaysimage: gronis/seafile-clientcontainer_name: sfcdenvironment:- TZ=America/Los_Angeles- LIBRARY_ID=[set to seafile library ID]- SERVER_URL=[set to seafile server URL]- SERVER_PORT=[set to server port]- USERNAME=[set to seafile username]- PASSWORD=[set to seafile password]- DATA_DIR=/media/photosvolumes:- ./photos:/media/photos
pigallery2:image: bpatrik/pigallery2:latestcontainer_name: photo-galleryenvironment:- TZ=America/Los_Angeles- NODE_ENV=production # set to 'debug' for full debug loggingvolumes:- "./config:/app/data/config"- "./db:/app/data/db"- "./photos/Photo_Archive:/app/data/images:ro"#This folder depends on your seafile structure - "./tmp:/app/data/tmp"ports:- 80:80restart: always