-
-
Save ErliSoares/d0526683bbd06cba0ed08d6e9c19afb2 to your computer and use it in GitHub Desktop.
Graylog
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
COMPOSE_CONVERT_WINDOWS_PATHS=True | |
GRAYLOG_HOST_EXTERNO=atlantasistemas.com.br | |
GRAYLOG_PORTA_EXTERNA=9000 | |
GRAYLOG_PORTA_EXTERNA_GELF_UDP=12201 |
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: '2' | |
services: | |
mongodb: | |
image: mongo:3 | |
volumes: | |
- mongo_data:/data/db | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.3 | |
volumes: | |
- es_data:/usr/share/elasticsearch/data | |
environment: | |
- http.host=0.0.0.0 | |
- transport.host=localhost | |
- network.host=0.0.0.0 | |
- xpack.security.enabled=false | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
mem_limit: 1g | |
graylog: | |
image: graylog/graylog:2.4.5-1 | |
volumes: | |
- graylog_journal:/usr/share/graylog/data/journal | |
environment: | |
- GRAYLOG_PASSWORD_SECRET=somepasswordpepper | |
- GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918 | |
- GRAYLOG_WEB_ENDPOINT_URI=http://${GRAYLOG_HOST_EXTERNO}:${GRAYLOG_PORTA_EXTERNA}/api | |
links: | |
- mongodb:mongo | |
- elasticsearch | |
depends_on: | |
- mongodb | |
- elasticsearch | |
ports: | |
- ${GRAYLOG_PORTA_EXTERNA}:9000 | |
- 514:514 | |
- 514:514/udp | |
- ${GRAYLOG_PORTA_EXTERNA_GELF_UDP}:12201/udp | |
volumes: | |
mongo_data: | |
driver: local | |
es_data: | |
driver: local | |
graylog_journal: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment