appstore-1panel/apps/openresty/1.21.4.3-3-1-focal/docker-compose.yml
zhengkunwang e33ac3b1eb
更新 Openresty 版本到 1.21.4.3-3-1-focal (#1539)
* feat: 更新 Openresty 版本到 1.21.4.3-3-1-focal

* feat: 更新配置文件

* feat: 网站监控增加日志保存天数
2024-06-06 14:12:22 +08:00

19 lines
665 B
YAML

services:
openresty:
image: 1panel/openresty:1.21.4.3-3-1-focal
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:
- ./conf/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf
- ./conf/fastcgi_params:/usr/local/openresty/nginx/conf/fastcgi_params
- ./conf/fastcgi-php.conf:/usr/local/openresty/nginx/conf/fastcgi-php.conf
- ./log:/var/log/nginx
- ./conf/conf.d:/usr/local/openresty/nginx/conf/conf.d/
- ./www:/www
- ./root:/usr/share/nginx/html
- /etc/localtime:/etc/localtime
- ./1pwaf/data:/usr/local/openresty/1pwaf/data
labels:
createdBy: "Apps"