Last active
November 11, 2020 13:24
-
-
Save JakeDEvans/94006cdd613f0b27ba98fd089a0cdc8a to your computer and use it in GitHub Desktop.
graylog 4 rc docker-compose file, change the external URI IP to your dev machine's IP, will send all local logs to graylog (once you add gelf inputs)
This file contains 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.4" | |
services: | |
mongo: | |
image: mongo:3 | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.9.3 | |
environment: | |
- discovery.type=single-node | |
graylog: | |
image: graylog/graylog:4.0.0-rc.1-1 | |
ports: | |
- 9000:9000 | |
- 12201:12201 | |
- 1514:1514 | |
environment: | |
- GRAYLOG_HTTP_EXTERNAL_URI=http://192.0.2.0:9000/ | |
- elasticsearch_version=7 | |
depends_on: | |
- mongo | |
- elasticsearch | |
logspout: | |
image: jacobdevans/logspout-gelf | |
volumes: | |
- /etc/hostname:/etc/host_hostname:ro | |
- /var/run/docker.sock:/var/run/docker.sock | |
depends_on: | |
- graylog | |
command: | |
gelf://graylog:12201 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment