2016-08-29 15:51:09 +02:00
2016-08-29 15:51:09 +02:00
2016-08-29 15:51:09 +02:00
2016-08-28 16:51:00 +02:00
2016-08-29 15:51:09 +02:00
2016-08-29 15:51:09 +02:00

docker-sigal

Docker image based on nginx official one for sigal gallery.

Run with :

docker run -p 80:80 -v /path/to/your/pictures/:/pictures --name sigal-ct -d remche/sigal

Default configuration use the galleria theme, keep original and put gallery in /usr/share/nginx/html. You can use a docker volume if you want it permanent :

docker run -p 80:80 -v /path/to/your/pictures/:/pictures -v sigal-html:/usr/share/nginx/html --name sigal-ct -d remche/sigal

If you want to override this conf, you can use your own sigal.conf.py :

docker run -p 80:80 -v /path/to/your/pictures/:/pictures -v/path/to/your/sigal.conf.py:/opt/sigal.conf.py --name sigal-ct -d remche/sigal

You can set a basic authentication in htpasswd format by setting HTPASSWD env variable :

docker run -p 80:80 -v /path/to/your/pictures/:/pictures -e HTPASSWD='foo:$apr1$odHl5EJN$KbxMfo86Qdve2FH4owePn.' --name sigal-ct -d remche/sigal

You might then use SSL with nginx-proxy.

You can use the following command to regenerate gallery :

docker exec sigal-ct sigal build

Using a cron or incron to run it is a good way to keep your gallery up to date.

Description
No description provided
Readme 52 KiB
Languages
Python 78.6%
Shell 14.2%
Dockerfile 7.2%