https://github.com/outstand/docker-syslog-ng-stdout
syslog sidecar for stdout logging
https://github.com/outstand/docker-syslog-ng-stdout
Last synced: 6 months ago
JSON representation
syslog sidecar for stdout logging
- Host: GitHub
- URL: https://github.com/outstand/docker-syslog-ng-stdout
- Owner: outstand
- License: apache-2.0
- Created: 2016-10-20T23:29:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T16:37:08.000Z (over 7 years ago)
- Last Synced: 2023-03-24T02:53:40.494Z (about 2 years ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/outstand/syslog-ng-stdout/
- Size: 7.81 KB
- Stars: 11
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Supported tags and respective `Dockerfile` links
- [`latest`, (*Dockerfile*)](https://github.com/outstand/docker-syslog-ng-stdout/blob/master/Dockerfile)
# Usage
Add to haproxy config:
```
log /sidecar/log local0
```docker-compose.yml:
```yaml
version: '2'
services:
haproxy:
image: haproxy:latest
volumes_from:
- syslog-sidecar
syslog-sidecar:
image: outstand/syslog-ng-stdout:latest
``````yaml
version: '3.0'
services:
haproxy:
image: haproxy:latest
volumes:
- syslog:/sidecar
depends_on:
- syslog-sidecarsyslog-sidecar:
image: outstand/syslog-ng-stdout:latestvolumes:
- syslog:/sidecarvolumes:
syslog:
```