Sign inSign up

weyu/nginx-gm

By weyu

Updated over 6 years ago

Image
0

264

weyu/nginx-gm repository overview

NGINX-GM

This is a nginx that can use Lua script to crop pictures.

Version

Nginx-1.16.1 + Lua-5.3.5 + Luajit2-2.1 + GraphicsMagick-1.3.33

Usage

docker pull weyu/nginx-gm:[tag]

Run

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

Tag summary

Content type

Image

Digest

Size

105.2 MB

Last updated

over 6 years ago

docker pull weyu/nginx-gm