githubxubin opened a new issue, #8950:
URL: https://github.com/apache/apisix/issues/8950
### Description
when i use docker-compose to build apisix,the apisix:2.15-alpine can not
start ,because the error.log no have permission in docker,
How do I configure it.(the container can not start ,so i can exec docker
container to chmod it)
nginx: [alert] could not open error log file: open()
"/usr/local/apisix/logs/error.log" failed (13: Permission denied)
2023/02/27 07:11:44 [emerg] 1#1: open() "/usr/local/apisix/logs/error.log"
failed (13: Permission denied)
......
volumes:
- ./apisix_log:/usr/local/apisix/logs
- ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]