fix: adding default to NUM_NWAKU_NODES in traffic script (#14)
This commit is contained in:
parent
909bc425fc
commit
054ba9e33f
|
@ -67,7 +67,7 @@ services:
|
||||||
dockerfile: Dockerfile.rest-traffic
|
dockerfile: Dockerfile.rest-traffic
|
||||||
command: >
|
command: >
|
||||||
python /opt/traffic.py
|
python /opt/traffic.py
|
||||||
--multiple-nodes=http://waku-simulator_nwaku_[1..$NUM_NWAKU_NODES]:8645
|
--multiple-nodes=http://waku-simulator_nwaku_[1..${NUM_NWAKU_NODES:-5}]:8645
|
||||||
--msg-size-kbytes=${MSG_SIZE_KBYTES:-10}
|
--msg-size-kbytes=${MSG_SIZE_KBYTES:-10}
|
||||||
--delay-seconds=${TRAFFIC_DELAY_SECONDS:-15}
|
--delay-seconds=${TRAFFIC_DELAY_SECONDS:-15}
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue