appstore-1panel/apps/openresty/1.21.4.3-2-1-focal/docker-compose.yml

20 lines
678 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:
image: 1panel/openresty:1.21.4.3-2-1-focal
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
- ./1pwaf/data:/usr/local/openresty/1pwaf/data
2023-02-06 15:53:30 +08:00
labels:
createdBy: "Apps"