SHARE
TWEET

Untitled

a guest Jan 23rd, 2018 316 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "2.3"
  2. services:
  3.   mongo:
  4.     image: mongo:3
  5.     restart: always
  6.     volumes:
  7.       - graylog_mongo_data_db:/data/db
  8.       - graylog_mongo_data_configdb:/data/configdb
  9.   elasticsearch:
  10.     image: elasticsearch:5.6
  11.     environment:
  12.       - http.host=0.0.0.0
  13.       - xpack.security.enabled=false
  14.       - indices.store.throttle.max_bytes_per_sec=150mb
  15.       - "ES_JAVA_OPTS=-Xms2048m -Xmx2048m"
  16.     restart: always
  17.     mem_limit: 10g
  18.     ulimits:
  19.       memlock:
  20.         soft: -1
  21.         hard: -1
  22.     volumes:
  23.       - graylog_elasticsearch_data:/usr/share/elasticsearch/data
  24.   graylog:
  25.     restart: always
  26.     image: graylog/graylog
  27.     environment:
  28.       - GRAYLOG_PASSWORD_SECRET=INqAK0uC0DgcfGGDln7Qwct8jvK8ED1Yk2Yw2wuFcZbVRLx2yWXjkzLAgQJbgGs5Ddw4chhEQk0VDOaQdTTzTSkzIqMOE8y9
  29.       - GRAYLOG_ROOT_PASSWORD_SHA2=99d25f3eb03e12af51212825ba05f17989ab23cf4526960b5e3c8dc9e76b5198
  30.       - GRAYLOG_WEB_ENDPOINT_URI=http://my.host.replaced/api
  31.       - GRAYLOG_MONGODB_URI=mongodb://mongo/graylog
  32.       - GRAYLOG_ELASTICSEARCH_HOSTS=http://elasticsearch:9200
  33.     links:
  34.       - mongo
  35.       - elasticsearch
  36.     ports:
  37.       # Web interface
  38.       - 80:9000
  39.       # Beats (Filebeats)
  40.       - 5044:5044
  41.       - 5044:5044/udp
  42.       - 5045:5045
  43.       - 5045:5045/udp
  44.       - 12201:12201
  45.     volumes:
  46.       - graylog_data:/usr/share/graylog/data
  47.  
  48. volumes:
  49.   graylog_mongo_data_db:
  50.   graylog_mongo_data_configdb:
  51.   graylog_elasticsearch_data:
  52.   graylog_data:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top