First commit of thumbsup
This commit is contained in:
15
thumbsup.sh
Normal file
15
thumbsup.sh
Normal 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 ""
|
||||
Reference in New Issue
Block a user