Skip to content

Instantly share code, notes, and snippets.

@AaronNGray
Created February 15, 2021 21:30
Show Gist options
  • Save AaronNGray/0aacbee2d1cb02c1f684ae990d9df4d6 to your computer and use it in GitHub Desktop.
Save AaronNGray/0aacbee2d1cb02c1f684ae990d9df4d6 to your computer and use it in GitHub Desktop.
Attempt at Storm+ZooKeeper+ElasticSearch+Kibana
version: '3.2'
services:
zookeeper:
image: zookeeper
container_name: zookeeper
restart: always
nimbus:
image: storm:1.2.3
container_name: nimbus
command: storm nimbus
depends_on:
- zookeeper
links:
- zookeeper
restart: always
ports:
- 6627:6627
supervisor:
image: storm:1.2.3
container_name: supervisor
command: storm supervisor
depends_on:
- nimbus
- zookeeper
links:
- nimbus
- zookeeper
restart: always
ui:
image: storm:1.2.3
container_name: ui
command: storm ui
depends_on:
- nimbus
- zookeeper
- supervisor
links:
- nimbus
- zookeeper
- supervisor
restart: always
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
container_name: elasticsearch
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- cluster.initial_master_nodes=es01,es02,es03
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
volumes:
- 'es_data:/usr/share/elasticsearch/data'
kibana:
container_name: kibana
build:
context: kibana/
args:
ELK_VERSION: $ELK_VERSION
ELASTIC_PASSWORD: $ELASTIC_PASSWORD
volumes:
- type: bind
source: ./kibana/config/kibana.yml
target: /usr/share/kibana/config/kibana.yml
read_only: true
ports:
- "5601:5601"
depends_on:
- elasticsearch
volumes:
es_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment