mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2026-06-17 07:44:33 +00:00
Downgrade to lua 5.1.5. ngx_http_lua_module only works with 5.1 Re-add install lua-resty-http module Adds simple test suite for http module
17 lines
424 B
YAML
17 lines
424 B
YAML
---
|
|
services:
|
|
nginx:
|
|
image: "$IMAGE"
|
|
environment:
|
|
TZ: "Australia/Brisbane"
|
|
volumes:
|
|
- "./nginx.conf:/etc/nginx/nginx.conf:ro"
|
|
- "./conf.d:/etc/nginx/conf.d:ro"
|
|
- "./www:/var/www/html:ro"
|
|
entrypoint:
|
|
[
|
|
"bash",
|
|
"-c",
|
|
"mkdir -p /var/log/nginx /var/cache/nginx && touch /var/log/nginx/error.log && nginx -c /etc/nginx/nginx.conf -g 'daemon off;'",
|
|
]
|