Skip to content

Instantly share code, notes, and snippets.

@sudheerchamarthi
Last active December 20, 2019 19:56
Show Gist options
  • Save sudheerchamarthi/370b2991f5779882c04807a4b3670845 to your computer and use it in GitHub Desktop.
Save sudheerchamarthi/370b2991f5779882c04807a4b3670845 to your computer and use it in GitHub Desktop.
version: "3.7"
# USAGE:
# Create and start the cluster: docker-compose up -d
# Tear down the cluster: docker-compose down
# Reove everything including the volumes: docker-compose down -v
services:
# 1. Syslog server
syslogserver:
image: mysyslog
hostname: syslog
container_name: syslog
restart: always
volumes:
- "/var/log:/var/log"
ports:
- 514:514
- 514:514/udp
cap_add:
- SYSLOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment