mirror of
https://github.com/logos-messaging/lpt-runner.git
synced 2026-01-07 16:33:08 +00:00
Configure runner for waki-simulator
This commit is contained in:
parent
2682cedf49
commit
38fd160590
61
.env
61
.env
@ -1,54 +1,33 @@
|
|||||||
#LiteProtocolTester run configurator
|
#LiteProtocolTester run configurator
|
||||||
|
|
||||||
# Docker image of lite-protocol-tester if different than used default
|
# Docker image of lite-protocol-tester if different than used default
|
||||||
#LPT_IMAGE=
|
#LPT_IMAGE=wakuorg/liteprotocoltester:deploy
|
||||||
|
#
|
||||||
# Define number of publisher and receiver nodes to run.
|
## Define number of publisher and receiver nodes to run.
|
||||||
NUM_PUBLISHER_NODES=1
|
NUM_PUBLISHER_NODES=1
|
||||||
NUM_RECEIVER_NODES=1
|
NUM_RECEIVER_NODES=1
|
||||||
|
|
||||||
|
## Can add some seconds delay before SENDER starts publishing
|
||||||
|
## Useful to let RECEIVER nodes to setup and subscribe ahead of expected messages being sent.
|
||||||
|
START_PUBLISHING_AFTER=15
|
||||||
|
|
||||||
# Can add some seconds delay before SENDER starts publishing
|
## Define number of messages to be sent by each publisher node.
|
||||||
# Useful to let RECEIVER nodes to setup and subscribe ahead of expected messages being sent.
|
## Set 0 for infinite number of messages
|
||||||
START_PUBLISHING_AFTER=60
|
NUM_MESSAGES=5000
|
||||||
|
|
||||||
# Define number of messages to be sent by each publisher node.
|
## ms delay between messages - when setting this consider RLN if applied to the network use will use.
|
||||||
# Set 0 for infinite number of messages
|
DELAY_MESSAGES=400
|
||||||
NUM_MESSAGES=100
|
|
||||||
|
|
||||||
# ms delay between messages - when setting this consider RLN if applied to the network use will use.
|
## Define message size range in bytes - publisher node will randomly generate message size between these values.
|
||||||
DELAY_MESSAGES=1000
|
|
||||||
|
|
||||||
# Define message size range in bytes - publisher node will randomly generate message size between these values.
|
|
||||||
MIN_MESSAGE_SIZE=15Kb
|
MIN_MESSAGE_SIZE=15Kb
|
||||||
MAX_MESSAGE_SIZE=145Kb
|
MAX_MESSAGE_SIZE=145Kb
|
||||||
|
|
||||||
|
## You can define service peers for publishers and receivers if you know ahead the exact peers. Specify either with multiaddress or ENR.
|
||||||
|
LIGHTPUSH_SERVICE_PEER=/ip4/10.2.0.101/tcp/60001/p2p/16Uiu2HAkyte8uj451tGkbww4Mjcg6DRnmAHxNeWyF4zp23RbpG3n
|
||||||
|
FILTER_SERVICE_PEER=/ip4/10.2.0.101/tcp/60001/p2p/16Uiu2HAkyte8uj451tGkbww4Mjcg6DRnmAHxNeWyF4zp23RbpG3n
|
||||||
|
|
||||||
# You can define service peers for publishers and receivers if you know ahead the exact peers. Specify either with multiaddress or ENR.
|
## Predefined values for different fleets - or set according to your needs
|
||||||
#LIGHTPUSH_SERVICE_PEER=
|
### for wakusim
|
||||||
#FILTER_SERVICE_PEER=
|
PUBSUB=/waku/2/rs/66/0
|
||||||
|
CONTENT_TOPIC=/tester/2/light-pubsub-test/wakusim
|
||||||
# ...or you can define bootstrap to locate service peers on the network, specify either with multiaddress or ENR.
|
CLUSTER_ID=66
|
||||||
#LIGHTPUSH_BOOTSTRAP=
|
|
||||||
#FILTER_BOOTSTRAP=
|
|
||||||
|
|
||||||
# Predefined values for different fleets - or set according to your needs
|
|
||||||
## for wakusim
|
|
||||||
#PUBSUB=/waku/2/rs/66/0
|
|
||||||
#CONTENT_TOPIC=/tester/2/light-pubsub-test/wakusim
|
|
||||||
#CLUSTER_ID=66
|
|
||||||
|
|
||||||
## for status.prod
|
|
||||||
#PUBSUB=/waku/2/rs/16/32
|
|
||||||
#CONTENT_TOPIC=/tester/2/light-pubsub-test/fleet
|
|
||||||
#CLUSTER_ID=16
|
|
||||||
|
|
||||||
## for status.staging
|
|
||||||
#PUBSUB=/waku/2/rs/16/32
|
|
||||||
#CONTENT_TOPIC=/tester/2/light-pubsub-test/fleet
|
|
||||||
#CLUSTER_ID=16
|
|
||||||
|
|
||||||
## for TWN/waku.sandbox
|
|
||||||
#PUBSUB=/waku/2/rs/1/4
|
|
||||||
#CONTENT_TOPIC=/tester/2/light-pubsub-test/twn
|
|
||||||
#CLUSTER_ID=1
|
|
||||||
|
|||||||
@ -40,6 +40,8 @@ services:
|
|||||||
- /usr/bin/run_tester_node_on_fleet.sh
|
- /usr/bin/run_tester_node_on_fleet.sh
|
||||||
- /usr/bin/liteprotocoltester
|
- /usr/bin/liteprotocoltester
|
||||||
- SENDER
|
- SENDER
|
||||||
|
networks:
|
||||||
|
- waku-simulator_simulation
|
||||||
|
|
||||||
receivernode:
|
receivernode:
|
||||||
image: ${LPT_IMAGE:-harbor.status.im/wakuorg/liteprotocoltester:latest}
|
image: ${LPT_IMAGE:-harbor.status.im/wakuorg/liteprotocoltester:latest}
|
||||||
@ -58,6 +60,8 @@ services:
|
|||||||
- RECEIVER
|
- RECEIVER
|
||||||
depends_on:
|
depends_on:
|
||||||
- publishernode
|
- publishernode
|
||||||
|
networks:
|
||||||
|
- waku-simulator_simulation
|
||||||
|
|
||||||
# We have prometheus and grafana defined in waku-simulator already
|
# We have prometheus and grafana defined in waku-simulator already
|
||||||
prometheus:
|
prometheus:
|
||||||
@ -71,6 +75,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- publishernode
|
- publishernode
|
||||||
- receivernode
|
- receivernode
|
||||||
|
networks:
|
||||||
|
- waku-simulator_simulation
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: docker.io/grafana/grafana:latest
|
image: docker.io/grafana/grafana:latest
|
||||||
@ -89,5 +95,9 @@ services:
|
|||||||
restart: on-failure:3
|
restart: on-failure:3
|
||||||
depends_on:
|
depends_on:
|
||||||
- prometheus
|
- prometheus
|
||||||
|
networks:
|
||||||
|
- waku-simulator_simulation
|
||||||
|
|
||||||
|
networks:
|
||||||
|
waku-simulator_simulation:
|
||||||
|
external: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user