dsavell / docker-grav

Docker Container for GRAV CMS
MIT License
40 stars 18 forks source link

Reading nginx logs #15

Closed hughbris closed 4 years ago

hughbris commented 4 years ago

Awesome image, thanks for creating it!

My Unix foo is pretty low and I'm not sure how to access the nginx error and access logs in my containers. Could you explain this? I can see they are symlinked to stderr and stdout but that doesn't help me (aforementioned embarrassing Unix foo). I can comment that part of the Dockerfile out in future containers, too, obviously.

dsavell commented 4 years ago

If you wish to read the logs outside from the container you can run the following: docker logs -f

dsavell commented 4 years ago

Note: adding to usage section of the README.md