spujadas / lighttpd-docker

Docker image for lighttpd, a secure, fast, compliant, and flexible web server
MIT License
59 stars 65 forks source link

feat: add stderr and stdout error and access logging for docker logs #4

Closed m-schmoock closed 5 years ago

m-schmoock commented 5 years ago

This patch will output /var/log/lighttpd/access.log and /var/log/lighttpd/error.log (if exist) to stdout and stderr pipes, so that the command docker logs -f lighttpd works as expected.

It also adds a restart directive to docker-compose.yml and sets a meaningful containtername.

spujadas commented 5 years ago

Nice one, thanks very much!