Skip to content

Instantly share code, notes, and snippets.

@lorn
Created August 5, 2016 15:05
Show Gist options
  • Save lorn/32041bec1755795bbd1200f21aee88b2 to your computer and use it in GitHub Desktop.
Save lorn/32041bec1755795bbd1200f21aee88b2 to your computer and use it in GitHub Desktop.
Docker compose for graylog2 tests, i'm putting here because of the udp stuff 👽
some-mongo:
image: "mongo:3"
some-elasticsearch:
image: "elasticsearch:2"
command: "elasticsearch -Des.cluster.name='graylog'"
graylog:
image: graylog2/server:2.0.1-1
environment:
GRAYLOG_PASSWORD_SECRET: somepasswordpepper
GRAYLOG_ROOT_PASSWORD_SHA2: 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
GRAYLOG_REST_TRANSPORT_URI: http://127.0.0.1:12900
links:
- some-mongo:mongo
- some-elasticsearch:elasticsearch
ports:
- "9000:9000"
- "12900:12900"
- "12201:12201"
- "12201:12201/udp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment