Skip to content

Commit

Permalink
docker related configs for network-delay tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fixxxedpoint committed Nov 23, 2022
1 parent 57cefa2 commit 8e82598
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/Dockerfile.network_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM aleph-node:latest

RUN apt update && \
apt install curl iproute2 iputils-ping net-tools netwox tcpdump gdb -y && \
apt clean && \
rm -rf /var/lib/apt/lists/*
45 changes: 45 additions & 0 deletions docker/docker-compose.network_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
services:
Node0:
image: aleph-node:network_tests
networks:
- main
environment:
- PURGE_BEFORE_START=false
cap_add:
- NET_ADMIN

Node1:
image: aleph-node:network_tests
networks:
- main
environment:
- PURGE_BEFORE_START=false
cap_add:
- NET_ADMIN

Node2:
image: aleph-node:network_tests
networks:
- main
environment:
- PURGE_BEFORE_START=false
cap_add:
- NET_ADMIN

Node3:
image: aleph-node:network_tests
networks:
- main
environment:
- PURGE_BEFORE_START=false
cap_add:
- NET_ADMIN

Node4:
image: aleph-node:network_tests
networks:
- main
environment:
- PURGE_BEFORE_START=false
cap_add:
- NET_ADMIN

0 comments on commit 8e82598

Please sign in to comment.