webchi / nginx-lua-prometheus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running this NGINX build

The following example is what I use to serve my blog.

 docker run --net host\
     -v /usr/local/nginx:/etc/nginx\
     -v /data/log/nginx:/etc/nginx/logs\
     -v /data/log/nginx:/var/log/nginx\
     -v /data/configuration/nginx:/etc/nginx/conf\
     -v /data/tmp/nginx:/etc/nginx/tmp\
     -v /data/configuration/keys:/data/configuration/keys\
     -v /data/www:/data/www\
     -e EUID=$(id -u www-data)\
     -e EGID=$(id -g www-data)\
     -d --name nginx yuxhuang/alpine-libressl-luajit-nginx:mainline

About


Languages

Language:Lua 78.4%Language:Dockerfile 21.6%