appstore-1panel/apps/openresty/versions/1.21.4/docker-compose.yml

17 lines
469 B
YAML
Raw Normal View History

2023-02-06 15:53:30 +08:00
version: '3'
services:
2023-02-07 15:21:24 +08:00
openresty:
2023-02-06 15:53:30 +08:00
image: openresty/openresty:1.21.4.1-3-alpine
container_name: ${CONTAINER_NAME}
2023-02-06 15:53:30 +08:00
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
2023-03-08 19:26:23 +08:00
- /etc/localtime:/etc/localtime
2023-02-06 15:53:30 +08:00
labels:
createdBy: "Apps"