21 lines
466 B
YAML

---
version: "3.8"
services:
syslog-ng:
image: ghcr.io/linuxserver/syslog-ng:latest
container_name: syslog-ng
network_mode: bridge
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
volumes:
- /path/to/config:/config
- /path/to/log:/var/log
ports:
- 514:5514/udp
- 601:6601/tcp
- 6514:6514/tcp
restart: unless-stopped
labels:
- com.centurylinklabs.watchtower.enable=true