---
version: "2"
services:
syslog-ng:
image: linuxserver/syslog-ng:4.7.1
container_name: syslog-ng
restart: unless-stopped
volumes:
- /host/path/to/config:/config # Contains all relevant configuration files.
ports:
- 6601:6601/tcp # Syslog TCP
- 6514:6514/tcp # Syslog TLS
- 5515:5515/udp # Syslog UDP