Files
thumbsup_nas/thumbsup.sh

16 lines
428 B
Bash

#/bin/bash -e
sudo docker run -t \
-v /volume1/photo:/input:ro \
-v /volume1/web:/output \
thumbsupgallery/thumbsup:latest \
thumbsup --config "/input/thumbsup/config.json"
echo "Changing forder permission /volume1/web/gallery/ ..."
# files/folders in /gallery/public don't have permissions, so we change them to 755
sudo chmod -R 755 /volume1/web/gallery/
echo "Go to https://clicclac.synology.me/gallery/"
echo ""