Skip to content

Instantly share code, notes, and snippets.

@tobowers
Created March 31, 2015 13:19
Show Gist options
  • Save tobowers/b9eb3d7291399440e976 to your computer and use it in GitHub Desktop.
Save tobowers/b9eb3d7291399440e976 to your computer and use it in GitHub Desktop.
logspout test
elasticsearch:
build: elasticsearch
ports:
- 9200:9200
- 9300:9300
environment:
LOGSPOUT: ignore
kibana:
build: kibana
ports:
- 80:80
command: /etc/init.d/nginx start
environment:
LOGSPOUT: ignore
logstash:
build: logstash
ports:
- 5001:5001
- 5001:5001/udp
command: -f /etc/logstash.conf.sample
links:
- elasticsearch
environment:
LOGSPOUT: ignore
logspout:
image: gliderlabs/logspout:master
links:
- logstash
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: syslog://logstash:5001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment