Last active
December 20, 2019 19:56
-
-
Save sudheerchamarthi/370b2991f5779882c04807a4b3670845 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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