@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.