thumbsup logo thumbsup

Thumbsup is published as a Docker image called thumbsupgallery/thumbsup. To create a gallery, you will need to mount one or several folders so that the container can access:

For example:

docker run -t              \
  -v "$(pwd):/work"        \
  -u $(id -u):$(id -g)     \
  thumbsupgallery/thumbsup \
  thumbsup --input /work/media --output /work/gallery

You can of course mount the volumes differently, for example:

docker run -t                   \
  -v /Volumes/photos:/input:ro  \  # the input folder can be read-only
  -v "$(pwd)/website:/output"   \
  -u $(id -u):$(id -g)          \
  thumbsupgallery/thumbsup      \
  thumbsup --input /input --output /output

Notes:

Photo dates displayed on the website are based on the current machine timezone. When running in Docker, this is GMT. If the timezone is important to you, you should also add

docker run -v /etc/localtime:/etc/localtime [...]

For more details about all the arguments and options available, see the configuration page.