Add docker-compose.yml for syslog-ng service
This commit is contained in:
parent
9695fd56bf
commit
cbbb559fd4
|
@ -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
|
Loading…
Reference in New Issue