I am using the image richarvey/nginx-php-fpm:latest
(1.5.2) and I started a container based on this image and executed /bin/bash
inside.
There I :
- have installed composer
- created a new symfony4 project using
composer create-project symfony/website-skeleton my-project
have edited
my-project/config/packages/dev/monolog.yaml
to set :monolog: handlers: main: type: stream path: 'php://stderr' level: debug channels: ["!event"]
got the IP of my docker image using
docker inspect
- and dump my container logs using
docker logs -f <my container>
When I load http://<my container ip>/my-project/public
, I don't see the symfony debug logs in my container logs output.
Note : I see the nginx logs.