mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-09-20 03:57:39 -04:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
15
scripts/rsyslog.sh
Executable file
15
scripts/rsyslog.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env 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
|
Reference in New Issue
Block a user