Sign inSign up

sergeyzh/logrotate

By sergeyzh

•Updated almost 11 years ago

Image
0

2.2K

sergeyzh/logrotate repository overview

⁠docker-logrotate

logrotate + varsy/configurator

It's uses configuration file /conf/logrotate/logrotate.conf to run logrotate and send reload command to the necessary services.

⁠List of environment variables
  • ETCDCTL_PEERS - address of etcd service to send reload signal. Recommended.
⁠Example
touch /mnt/logrotate.status
docker run --rm -it --volumes-from=configurator -v /mnt/logs:/mnt/logs -v /mnt/logrotate.status:/var/lib/logrotate.status sergeyzh/logrotate

Tag summary

Content type

Image

Digest

sha256:0bd49ca4c…

Size

158.1 MB

Last updated

almost 11 years ago

docker pull sergeyzh/logrotate