services:
falkordb:
image: falkordb/falkordb:latest
ports:
- "16379:6379"
healthcheck:
test: ["CMD", "redis-cli", "PING"]
interval: 1s
timeout: 3s
retries: 30
node1:
image: exocortex-node:local
depends_on:
falkordb:
condition: service_healthy
command: ["--mode", "backend-node", "--bind", "0.0.0.0:8081", "--node-id", "node1", "--gossip-addr", "0.0.0.0:8101", "--bearer-token", "dev-bearer", "--storage", "falkor://falkordb:6379", "--cluster-endpoints", "node2:8082,node3:8083"]
ports:
- "8081:8081"
node2:
image: exocortex-node:local
depends_on:
falkordb:
condition: service_healthy
command: ["--mode", "backend-node", "--bind", "0.0.0.0:8082", "--node-id", "node2", "--gossip-addr", "0.0.0.0:8102", "--bearer-token", "dev-bearer", "--storage", "falkor://falkordb:6379", "--cluster-endpoints", "node1:8081,node3:8083"]
ports:
- "8082:8082"
node3:
image: exocortex-node:local
depends_on:
falkordb:
condition: service_healthy
command: ["--mode", "backend-node", "--bind", "0.0.0.0:8083", "--node-id", "node3", "--gossip-addr", "0.0.0.0:8103", "--bearer-token", "dev-bearer", "--storage", "falkor://falkordb:6379", "--cluster-endpoints", "node1:8081,node2:8082"]
ports:
- "8083:8083"