Implement raft and memberlist shutdown

This commit is contained in:
Kelvin Clement Mwinuka
2023-08-01 01:17:37 +08:00
parent 65e53f1a8d
commit e1e89f46ca
3 changed files with 128 additions and 37 deletions

View File

@@ -61,5 +61,45 @@ services:
- "7482:7480"
- "7948:7946"
- "8002:8000"
networks:
- testnet
node4:
container_name: node4
build:
context: .
dockerfile: ./server/Dockerfile
environment:
- PORT=7480
- RAFTPORT=8000
- MLPORT=7946
- KEY=""
- CERT=""
- SERVERID=4
- JOINADDR=node1:7946
ports:
- "7483:7480"
- "7949:7946"
- "8003:8000"
networks:
- testnet
node5:
container_name: node5
build:
context: .
dockerfile: ./server/Dockerfile
environment:
- PORT=7480
- RAFTPORT=8000
- MLPORT=7946
- KEY=""
- CERT=""
- SERVERID=5
- JOINADDR=node1:7946
ports:
- "7484:7480"
- "7950:7946"
- "8004:8000"
networks:
- testnet