Coder Social home page Coder Social logo

graylog-docker-compose's Introduction

graylog-docker-compose

version: '3' services:

mongodb: image: mongo:5.0.13 restart: always volumes: - mongo_data:/data/db

elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2 volumes: - es_data:/usr/share/elasticsearch/data restart: always environment: - http.host=0.0.0.0 - transport.host=localhost - network.host=0.0.0.0 - "ES_JAVA_OPTS=-Dlog4j2.formatMsgNoLookups=true -Xms512m -Xmx512m" ulimits: memlock: soft: -1 hard: -1 mem_limit: 1g

graylog: image: graylog/graylog:5.2 volumes: - graylog_journal:/usr/share/graylog/data/journal restart: always environment:

CHANGE ME (must be at least 16 characters)!

  - GRAYLOG_PASSWORD_SECRET=xxxxxxxxXXXXXXXX

Password: admin

  - GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
  - GRAYLOG_HTTP_EXTERNAL_URI=http://127.0.0.1:9000/
  - GRAYLOG_ROOT_TIMEZONE=Asia/Taipei
  - GRAYLOG_MESSAGE_JOURNAL_ENABLED=true
  - GRAYLOG_MESSAGE_JOURNAL_MAX_AGE=183d
  - graylog_message_journal_max_size: 40gb
entrypoint: /usr/bin/tini -- wait-for-it elasticsearch:9200 --  /docker-entrypoint.sh
links:
  - mongodb:mongo
  - elasticsearch
depends_on:
  - mongodb
  - elasticsearch
ports:

Graylog web interface and REST API

  - 9000:9000

Syslog TCP

  - 1514:1514

Syslog UDP

  - 1514:1514/udp

GELF TCP

  - 12201:12201

GELF UDP

  - 12201:12201/udp

volumes: mongo_data: driver: local es_data: driver: local graylog_journal: driver: local

graylog-docker-compose's People

Contributors

pingshiuan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.