Skip to content

Commit

Permalink
perf: add three more nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
duvbell committed Jan 18, 2024
1 parent 4b7ed9b commit f0f7832
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 34 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ HTTPS_GIT := https://github.com/White-Whale-Defi-Platform/migaloo-chain.git

export GO111MODULE = on

TESTNET_NVAL := $(if $(TESTNET_NVAL),$(TESTNET_NVAL),3)
TESTNET_NVAL := $(if $(TESTNET_NVAL),$(TESTNET_NVAL),6)
TESTNET_CHAINID := $(if $(TESTNET_CHAINID),$(TESTNET_CHAINID),migaloo-1)


Expand Down Expand Up @@ -106,7 +106,7 @@ build:
go build $(BUILD_FLAGS) -o bin/migalood ./cmd/migalood

docker-build-debug:
@DOCKER_BUILDKIT=1 docker bufild -t migaloo:debug -f Dockerfile .
@DOCKER_BUILDKIT=1 docker build -t migaloo:debug -f Dockerfile .

runsim: $(RUNSIM)
$(RUNSIM):
Expand Down
57 changes: 57 additions & 0 deletions contrib/updates/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,63 @@ services:
networks:
localnet:
ipv4_address: 192.168.10.4

migaloodnode3:
container_name: migaloodnode3
platform: linux/amd64
image: "migaloo/migalood-upgrade-env"
environment:
- ID=3
- LOG=migalood.log
- DAEMON_HOME=/migalood/node3/migalood
- DAEMON_NAME=migalood
- DAEMON_RESTART_AFTER_UPGRADE=true
ports:
- "9093:9090"
- "26663-26664:26656-26657"
volumes:
- ../../build:/migalood:Z
networks:
localnet:
ipv4_address: 192.168.10.5

migaloodnode4:
container_name: migaloodnode4
platform: linux/amd64
image: "migaloo/migalood-upgrade-env"
environment:
- ID=4
- LOG=migalood.log
- DAEMON_HOME=/migalood/node4/migalood
- DAEMON_NAME=migalood
- DAEMON_RESTART_AFTER_UPGRADE=true
ports:
- "9094:9090"
- "26665-26666:26656-26657"
volumes:
- ../../build:/migalood:Z
networks:
localnet:
ipv4_address: 192.168.10.6

migaloodnode5:
container_name: migaloodnode5
platform: linux/amd64
image: "migaloo/migalood-upgrade-env"
environment:
- ID=5
- LOG=migalood.log
- DAEMON_HOME=/migalood/node5/migalood
- DAEMON_NAME=migalood
- DAEMON_RESTART_AFTER_UPGRADE=true
ports:
- "9095:9090"
- "26667-26668:26656-26657"
volumes:
- ../../build:/migalood:Z
networks:
localnet:
ipv4_address: 192.168.10.7

networks:
localnet:
Expand Down
64 changes: 32 additions & 32 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,39 +52,39 @@ services:
localnet:
ipv4_address: 192.168.10.4

# migaloo3:
# container_name: migaloo3
# image: migalood
# command: start --home /migalood
# environment:
# - ID=3
# - LOG=migalood.log
# ports:
# - "1320:1317"
# - "9093:9090"
# - "26663-26664:26656-26657"
# volumes:
# - ./build/node3/simd:/migalood:Z
# networks:
# localnet:
# ipv4_address: 192.168.10.5
migaloo3:
container_name: migaloo3
image: migalood
command: start --home /migalood
environment:
- ID=3
- LOG=migalood.log
ports:
- "1320:1317"
- "9093:9090"
- "26663-26664:26656-26657"
volumes:
- ./build/node3/simd:/migalood:Z
networks:
localnet:
ipv4_address: 192.168.10.5

# migaloo4:
# container_name: migaloo4
# image: migalood
# command: start --home /migalood
# environment:
# - ID=4
# - LOG=migalood.log
# ports:
# - "1321:1317"
# - "9094:9090"
# - "26665-26666:26656-26657"
# volumes:
# - ./build/node4/simd:/migalood:Z
# networks:
# localnet:
# ipv4_address: 192.168.10.6
migaloo4:
container_name: migaloo4
image: migalood
command: start --home /migalood
environment:
- ID=4
- LOG=migalood.log
ports:
- "1321:1317"
- "9094:9090"
- "26665-26666:26656-26657"
volumes:
- ./build/node4/simd:/migalood:Z
networks:
localnet:
ipv4_address: 192.168.10.6


networks:
Expand Down

0 comments on commit f0f7832

Please sign in to comment.