tools/rsyslog.sh
Jason Hempstead d37f538dcc
🦈🏠🐜 Initial Commit 🐜🦈🏠
2020-08-05 19:12:39 -04:00

14 lines
379 B
Bash

mkdir -p /var/lib/docker/storage/rsyslog/elastic && chmod -Rf 777 /var/lib/docker/storage/rsyslog
docker run -d \
--name rsyslog \
--hostname syslogs \
--restart always \
--privileged \
-p 514:514 \
-p 514:514/udp \
-p 5601:5601 \
-v /etc/localtime:/etc/localtime:ro \
-v /var/lib/docker/storage/rsyslog/elastic:/var/lib/elasticsearch \
registry.casjay.in/latest/rsyslog:latest