Skip to content

Commit 9c96199

Browse files
committed
add autoheal
1 parent 3e5f7fc commit 9c96199

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tests/e2e/chains/bsc/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ bootstrap:
1212

1313
.PHONY:network
1414
network:
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
2930
dep:
30-
$(DOCKER_COMPOSE) run contracts npm install
31+
$(DOCKER_COMPOSE) run --rm contracts npm install
3132

3233
.PHONY: clean
3334
clean:

tests/e2e/chains/bsc/docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)