- #!/bin/bash
- docker run --name openresty \
- --network=host \
- --restart unless-stopped \
- -e TZ='Asia/Shanghai' \
- -v /app/openresty/conf:/usr/local/openresty/nginx/conf \
- -v /app/openresty/conf.d:/etc/nginx/conf.d \
- -v /app/openresty/logs:/usr/local/openresty/nginx/logs \
- -v /app/openresty/lua:/usr/local/openresty/nginx/lua \
- -v /app:/app \
- -v /etc/localtime:/etc/localtime:ro \
- -d openresty:1.27.1.2-bookworm
|