Add docker-compose.yml for syslog-ng service

This commit is contained in:
Jose Henrique 2023-12-10 15:32:20 -03:00
parent 9695fd56bf
commit cbbb559fd4
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
version: "2.1"
services:
syslog-ng:
image: lscr.io/linuxserver/syslog-ng:latest
container_name: syslog-ng
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- ./config:/config
- ./log:/var/log #optional
ports:
- 514:5514/udp
- 601:6601/tcp
- 6514:6514/tcp
restart: unless-stopped