2023-02-06 15:53:30 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
2023-02-07 15:21:24 +08:00
|
|
|
openresty:
|
2024-04-17 16:24:13 +08:00
|
|
|
image: 1panel/openresty:1.21.4.3-2-1-focal
|
2023-02-22 17:12:24 +08:00
|
|
|
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
|
2024-04-17 16:24:13 +08:00
|
|
|
- ./1pwaf/data:/usr/local/openresty/1pwaf/data
|
2023-02-06 15:53:30 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|