【文件属性】:
文件名称:docker-openresty:适用于Openresty的Docker映像
文件大小:4KB
文件格式:ZIP
更新时间:2021-04-30 22:51:53
Shell
OpenResty Dockerfile
基础Docker映像
当前版本
1.9.3.1
安装
安装
从下载最新版本:
码头工人拉板条箱/ openresty:最新
或者,您可以从Dockerfile构建映像:
export VERSION=1.9.3.1
docker build --rm --force-rm --tag crate/openresty:${VERSION} .
运行Openresty
docker run \
-p 80:80 \
-p 443:443 \
-v /path/to/conf.d/:/conf \
-v /path/to/data:/data \
-v /path/to/logs:/logs \
crate/openresty:1.9.3.1
/usr/local/openresty/nginx/sbin/ngi
【文件预览】:
docker-openresty-master
----conf()
--------nginx.conf(467B)
----README.rst(2KB)
----Dockerfile(2KB)
----update.sh(524B)
----Dockerfile.template(2KB)