This is a nginx that can use Lua script to crop pictures.
Nginx-1.16.1 + Lua-5.3.5 + Luajit2-2.1 + GraphicsMagick-1.3.33
docker pull weyu/nginx-gm:[tag]
DIR="/yourdir/nginx"
docker run -d --name nginx \
-p 80:80 -p 443:443 \
-v /etc/localtime:/etc/localtime:ro \
-v ${DIR}/conf/nginx.conf:/nginx/conf/nginx.conf \
-v ${DIR}/conf/conf.d:/nginx/conf/conf.d \
-v ${DIR}/ssl:/nginx/ssl \
-v ${DIR}/lua:/nginx/lua \
-v ${DIR}/conf/include:/nginx/conf/include \
-v ${DIR}/logs:/nginx/logs \
--volumes-from your_volumes \
weyu/nginx-gm:latest
Content type
Image
Digest
Size
105.2 MB
Last updated
over 6 years ago
docker pull weyu/nginx-gm