2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

add syslog-ng

This commit is contained in:
kevin
2025-02-23 12:47:08 +08:00
parent cd22611810
commit f679204e00
3 changed files with 25 additions and 0 deletions

8
syslog-ng/README.md Normal file
View File

@@ -0,0 +1,8 @@
syslog-ng
=========
[syslog-ng][1] allows you to flexibly collect, parse, classify, rewrite and
correlate logs from across your infrastructure and store or route them to log
analysis tools.
[1]: https://docs.linuxserver.io/images/docker-syslog-ng/

View File

@@ -0,0 +1,16 @@
services:
syslog-ng:
image: linuxserver/syslog-ng:4.8.1
ports:
- 514:5514/udp # UDP
- 601:6601/tcp # TCP
- 6514:6514/tcp # TLS
volumes:
- ./data/etc:/config
- ./data/log:/var/log
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- LOG_TO_STDOUT= #optional
restart: unless-stopped