View Single Post
Old 07-03-2023, 11:17 AM   #240
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@huber70

I got it working with these settings from the terminal (copy all and paste it in the terminal):
Code:
docker run -d \
   --name=pigallery2 \
   -p 8282:80 \
   -e NODE_ENV=production \
   -v /home/pi/Docker/pigallery2/config:/app/data/config \
   -v /home/pi/Docker/pigallery2/db:/app/data/db \
   -v /home/pi/Docker/pigallery2/images:/app/data/images \
   -v /home/pi/Docker/pigallery2/tmp:/app/data/tmp \
   --restart=unless-stopped \
   bpatrik/pigallery2:latest
You can change /home/pi/Docker/pigallery2/ to suit your setup.

The test gallery should be placed in ./images

You can also make a subdirectory ./images inside the ./sftp directory so that you can "upload" photo's from your desktop to your Pi and display them with pigallery2.
mariosipad is offline   Reply With Quote