File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ bootstrap:
1212
1313.PHONY :network
1414network :
15+ $(DOCKER_COMPOSE ) up -d autoheal
1516 $(DOCKER_COMPOSE ) up -d bsc-rpc bsc-validator1-1 bsc-validator1-2 bsc-validator1-3
1617
1718.PHONY :network-down
@@ -27,7 +28,7 @@ deploy: dep
2728
2829.PHONY : dep
2930dep :
30- $(DOCKER_COMPOSE ) run contracts npm install
31+ $(DOCKER_COMPOSE ) run --rm contracts npm install
3132
3233.PHONY : clean
3334clean :
Original file line number Diff line number Diff line change @@ -79,6 +79,13 @@ services:
7979 - ./scripts:/scripts
8080 command : bash /scripts/bsc-validator.sh
8181
82+ autoheal :
83+ restart : always
84+ image : willfarrell/autoheal
85+ environment :
86+ - AUTOHEAL_CONTAINER_LABEL=all
87+ volumes :
88+ - /var/run/docker.sock:/var/run/docker.sock
8289
8390 # Deploy contracts via hardhat
8491 contracts :
You can’t perform that action at this time.
0 commit comments