1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/rsyslog/README.md
2016-10-29 16:12:00 +08:00

398 B

rsyslog

docker-compose.yml

rsyslog:
  image: vimagick/rsyslog
  ports:
    - "514:514/tcp"
    - "514:514/udp"
  volumes:
    - ./log:/var/log
  restart: always

Up and Running

$ docker-compose up -d
$ docker-compose exec rsyslog sh
>>> logger -t debug hello world
>>> tail /var/log/messages
2016-10-29T07:52:15.177918+00:00 c88f52cf86b6 debug: hello world