Remove fixed IPs and separate network for fixturenet. (#30)

* Remove fixed IPs and separate network for fixturenet.

* Remove static port mapping.

* Add helper script for checking your fxiturenet status

* Sleep 1 second

* Fix spacing

* Fix for latest genesis generator.

* run as archive node
This commit is contained in:
2022-10-31 12:43:49 -05:00
committed by GitHub
parent 7a6bebed73
commit 01fd7e251a
12 changed files with 121 additions and 58 deletions
-23
View File
@@ -8,9 +8,6 @@ services:
environment:
RUN_BOOTNODE: "true"
image: cerc/fixturenet-eth-geth:local
networks:
fixturenet-eth-net:
ipv4_address: 172.16.254.10
fixturenet-eth-geth-1:
hostname: fixturenet-eth-geth-1
@@ -21,8 +18,6 @@ services:
- fixturenet-eth-bootnode-geth
ports:
- "8545"
networks:
fixturenet-eth-net:
fixturenet-eth-geth-2:
hostname: fixturenet-eth-geth-2
@@ -31,17 +26,12 @@ services:
image: cerc/fixturenet-eth-geth:local
depends_on:
- fixturenet-eth-bootnode-geth
networks:
fixturenet-eth-net:
fixturenet-eth-bootnode-lighthouse:
hostname: fixturenet-eth-bootnode-lighthouse
environment:
RUN_BOOTNODE: "true"
image: cerc/fixturenet-eth-lighthouse:local
networks:
fixturenet-eth-net:
ipv4_address: 172.16.254.11
fixturenet-eth-lighthouse-1:
hostname: fixturenet-eth-lighthouse-1
@@ -57,8 +47,6 @@ services:
- fixturenet-eth-geth-1
ports:
- "8001"
networks:
fixturenet-eth-net:
fixturenet-eth-lighthouse-2:
hostname: fixturenet-eth-lighthouse-2
@@ -73,14 +61,3 @@ services:
depends_on:
- fixturenet-eth-bootnode-lighthouse
- fixturenet-eth-geth-2
networks:
fixturenet-eth-net:
networks:
# When the bootnode ENR is generated during the build, it requires a specific IP.
# The easiest way to do that is to use a private network.
fixturenet-eth-net:
driver: bridge
ipam:
config:
- subnet: 172.16.254.0/28