First commit of thumbsup

This commit is contained in:
2021-03-15 10:51:28 +01:00
commit 1f9c7bec9b
9 changed files with 93 additions and 0 deletions

15
thumbsup.sh Normal file
View File

@@ -0,0 +1,15 @@
#/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 ""