Commit Graph

3 Commits

Author SHA1 Message Date
Tommie Gannert
f1d5d0ad4d
Adds a Docker log source.
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.

The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2021-03-16 15:37:29 +01:00
Bart Vercoulen
1edadd0857
Revert "Adds a Docker log source." 2021-03-16 15:19:10 +01:00
Tommie Gannert
c588b342a0 Adds a Docker log source.
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.

The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2020-07-02 10:22:01 +02:00