Skip to content

Commit

Permalink
updated DC (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
GusevTimofey authored Dec 5, 2023
1 parent e8ae0ce commit 6f5b007
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ services:
ALLOW_PLAINTEXT_LISTENER: "yes"
KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: "1@kafka:9093"
KAFKA_CFG_NODE_ID: "1"
healthcheck:
test: ["CMD-SHELL", "kafka-topics.sh --bootstrap-server kafka:9092 --topic hc --create --if-not-exists && kafka-topics.sh --bootstrap-server kafka:9092 --topic hc --describe"]
timeout: 10s
interval: 15s
retries: 5
volumes:
- "kafka-data:/bitnami/kafka"
networks:
Expand Down Expand Up @@ -62,10 +67,14 @@ services:
image: spectrumlabs/ergo-bots-tracker:latest
volumes:
- "log-data:/usr/src/events-streaming/log"
- "${PWD}/rocks/tracker:/tmp/chain"
- "${PWD}/rocks/pool:/tmp/mempool"
env_file: config.env
depends_on:
- kafka
- utxo-tracker
kafka:
condition: service_healthy
utxo-tracker:
condition: service_started
networks:
- spectrum-network

Expand Down

0 comments on commit 6f5b007

Please sign in to comment.