84e4937f85
This new work implements the server and the loader in two different binaries allowing the code while updating the IOC list. It updates also the documentation to reflect the new changes.
57 lines
1.7 KiB
YAML
57 lines
1.7 KiB
YAML
version: "3.2"
|
|
services:
|
|
zero:
|
|
image: dgraph/dgraph:latest
|
|
volumes:
|
|
- /tmp/data:/dgraph
|
|
ports:
|
|
- 5080:5080
|
|
- 6080:6080
|
|
restart: on-failure
|
|
command: dgraph zero --my=zero:5080
|
|
alpha:
|
|
image: dgraph/dgraph:latest
|
|
volumes:
|
|
- /tmp/data:/dgraph
|
|
ports:
|
|
- 8080:8080
|
|
- 9080:9080
|
|
restart: on-failure
|
|
command: dgraph alpha --my=alpha:7080 --lru_mb=2048 --zero=zero:5080
|
|
ratel:
|
|
image: dgraph/dgraph:latest
|
|
ports:
|
|
- 8000:8000
|
|
command: dgraph-ratel
|
|
# zoo1:
|
|
# image: zookeeper:3.4.9
|
|
# hostname: zoo1
|
|
# ports:
|
|
# - "2181:2181"
|
|
# environment:
|
|
# ZOO_MY_ID: 1
|
|
# ZOO_PORT: 2181
|
|
# ZOO_SERVERS: server.1=zoo1:2888:3888
|
|
# volumes:
|
|
# - ./zk-single-kafka-single/zoo1/data:/data
|
|
# - ./zk-single-kafka-single/zoo1/datalog:/datalog
|
|
|
|
# https://github.com/simplesteph/kafka-stack-docker-compose/blob/master/zk-single-kafka-single.yml
|
|
# kafka1:
|
|
# image: confluentinc/cp-kafka:5.5.0
|
|
# hostname: kafka1
|
|
# ports:
|
|
# - "9092:9092"
|
|
# environment:
|
|
# KAFKA_ADVERTISED_LISTENERS: LISTENER_DOCKER_INTERNAL://kafka1:19092,LISTENER_DOCKER_EXTERNAL://${DOCKER_HOST_IP:-127.0.0.1}:9092
|
|
# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LISTENER_DOCKER_INTERNAL:PLAINTEXT,LISTENER_DOCKER_EXTERNAL:PLAINTEXT
|
|
# KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_DOCKER_INTERNAL
|
|
# KAFKA_ZOOKEEPER_CONNECT: "zoo1:2181"
|
|
# KAFKA_BROKER_ID: 1
|
|
# KAFKA_LOG4J_LOGGERS: "kafka.controller=INFO,kafka.producer.async.DefaultEventHandler=INFO,state.change.logger=INFO"
|
|
# KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
|
|
# volumes:
|
|
# - ./zk-single-kafka-single/kafka1/data:/var/lib/kafka/data
|
|
# depends_on:
|
|
# - zoo1
|