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

19 lines
627 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
2023-04-06 16:23:08 +08:00
- ./conf/fastcgi_params:/usr/local/openresty/nginx/conf/fastcgi_params
- ./conf/fastcgi-php.conf:/usr/local/openresty/nginx/conf/fastcgi-php.conf
2023-02-06 15:53:30 +08:00
- ./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"