Skip to content

Instantly share code, notes, and snippets.

@doron2402
Created February 11, 2017 00:15
Show Gist options
  • Save doron2402/69c3861b9c3ae1720b6874fcebc603a7 to your computer and use it in GitHub Desktop.
Save doron2402/69c3861b9c3ae1720b6874fcebc603a7 to your computer and use it in GitHub Desktop.
Druid docker-compose
version: "2"
services:
postgres:
image: postgres:9.6.1
container_name: postgres
environment:
- POSTGRES_PASSWORD=TCrGaanoC2s7gT
ports:
- "15432:5432"
zookeeper:
container_name: zookeeper
image: znly/zookeeper:3.4.8
restart: always
environment:
- ZOO_ID=1
- ZOO_SERVERS=zookeeper
ports:
- "2181:2181"
- "2888:2888"
- "3888:3888"
overlord:
image: znly/druid:0.9.1.1
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
command:
- overlord
ports:
- "8090:8090"
coordinator:
image: znly/druid:0.9.1.1
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
command:
- coordinator
ports:
- "8081:8081"
middlemanager:
image: znly/druid:0.9.1.1
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
command:
- middleManager
historical:
image: znly/druid:0.9.1.1
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
command:
- historical
ports:
- "8083:8083"
broker:
image: znly/druid:0.9.1.1
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
command:
- broker
ports:
- "8082:8082"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment