Update production compose

This commit is contained in:
Mark Veidemanis 2022-10-04 21:32:14 +01:00
parent aea1c7faf6
commit d96dc573c5
1 changed files with 98 additions and 80 deletions

View File

@ -199,99 +199,117 @@ services:
timeout: 30s timeout: 30s
retries: 45 retries: 45
coordinator: druid:
#image: apache/druid:0.23.0
image: pathogen/druid:0.23.0 image: pathogen/druid:0.23.0
build: ./druid build: ./druid/
container_name: coordinator container_name: druid
volumes: volumes:
- /block/store/druid_shared:/opt/shared - druid_shared:/opt/shared
- /block/store/coordinator_var:/opt/druid/var - druid_var:/opt/druid/var
depends_on: depends_on:
- zookeeper - zookeeper
- postgres - postgres
ports: ports:
- "8081:8081" - "8081:8081"
command:
- coordinator
env_file:
- environment
broker:
#image: apache/druid:0.23.0
image: pathogen/druid:0.23.0
build: ./druid
container_name: broker
volumes:
- /block/store/broker_var:/opt/druid/var
depends_on:
- zookeeper
- postgres
- coordinator
ports:
- "8082:8082" - "8082:8082"
command:
- broker
env_file:
- environment
historical:
#image: apache/druid:0.23.0
image: pathogen/druid:0.23.0
build: ./druid
container_name: historical
volumes:
- /block/store/druid_shared:/opt/shared
- /block/store/historical_var:/opt/druid/var
depends_on:
- zookeeper
- postgres
- coordinator
ports:
- "8083:8083" - "8083:8083"
command:
- historical
env_file:
- environment
middlemanager:
#image: apache/druid:0.23.0
image: pathogen/druid:0.23.0
build: ./druid
container_name: middlemanager
volumes:
- /block/store/druid_shared:/opt/shared
- /block/store/middle_var:/opt/druid/var
depends_on:
- zookeeper
- postgres
- coordinator
ports:
- "8091:8091"
- "8100-8105:8100-8105"
command:
- middleManager
env_file:
- environment
router:
#image: apache/druid:0.23.0
image: pathogen/druid:0.23.0
build: ./druid
container_name: router
volumes:
- /block/store/router_var:/opt/druid/var
depends_on:
- zookeeper
- postgres
- coordinator
ports:
- "8888:8888" - "8888:8888"
command:
- router
env_file: env_file:
- environment - environment
# coordinator:
# #image: apache/druid:0.23.0
# image: pathogen/druid:0.23.0
# build: ./druid
# container_name: coordinator
# volumes:
# - /block/store/druid_shared:/opt/shared
# - /block/store/coordinator_var:/opt/druid/var
# depends_on:
# - zookeeper
# - postgres
# ports:
# - "8081:8081"
# command:
# - coordinator
# env_file:
# - environment
# broker:
# #image: apache/druid:0.23.0
# image: pathogen/druid:0.23.0
# build: ./druid
# container_name: broker
# volumes:
# - /block/store/broker_var:/opt/druid/var
# depends_on:
# - zookeeper
# - postgres
# - coordinator
# ports:
# - "8082:8082"
# command:
# - broker
# env_file:
# - environment
# historical:
# #image: apache/druid:0.23.0
# image: pathogen/druid:0.23.0
# build: ./druid
# container_name: historical
# volumes:
# - /block/store/druid_shared:/opt/shared
# - /block/store/historical_var:/opt/druid/var
# depends_on:
# - zookeeper
# - postgres
# - coordinator
# ports:
# - "8083:8083"
# command:
# - historical
# env_file:
# - environment
# middlemanager:
# #image: apache/druid:0.23.0
# image: pathogen/druid:0.23.0
# build: ./druid
# container_name: middlemanager
# volumes:
# - /block/store/druid_shared:/opt/shared
# - /block/store/middle_var:/opt/druid/var
# depends_on:
# - zookeeper
# - postgres
# - coordinator
# ports:
# - "8091:8091"
# - "8100-8105:8100-8105"
# command:
# - middleManager
# env_file:
# - environment
# router:
# #image: apache/druid:0.23.0
# image: pathogen/druid:0.23.0
# build: ./druid
# container_name: router
# volumes:
# - /block/store/router_var:/opt/druid/var
# depends_on:
# - zookeeper
# - postgres
# - coordinator
# ports:
# - "8888:8888"
# command:
# - router
# env_file:
# - environment
# db: # db:
# #image: pathogen/manticore:kibana # #image: pathogen/manticore:kibana
# image: manticoresearch/manticore:dev # image: manticoresearch/manticore:dev