Skip to content

nginx-proxy/docker-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-gen

Config file generator using running docker container meta-data.

This is mostly a proof of concept to generate config files for:

  • fluentd, logstash or other centralized logging tools that tail the containers JSON log file.
  • logrotate files to rotate container JSON log files

Docker Log Management With Fluentd

===

To Run:

go get github.com/jwilder/docker-gen

docker-gen template.file

TODO:

  • Add restart command hooks for when files are regenerated.
  • Tail docker event stream to detect when containers are started and stopped automatically

About

Generate files from docker container meta-data

Topics

Resources

License

Stars

Watchers

Forks

Packages