appstore-1panel/apps/openresty/versions/1.21.4/docker-compose.yml
2023-03-08 19:26:23 +08:00

17 lines
469 B
YAML

version: '3'
services:
openresty:
image: openresty/openresty:1.21.4.1-3-alpine
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:
- ./conf/nginx.conf:/usr/local/openresty/nginx/conf/nginx.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
labels:
createdBy: "Apps"