mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-05-24 02:59:32 +00:00
WIP for ad hoc testing
This commit is contained in:
parent
fd8475f4ca
commit
bfd5f57d59
@ -93,6 +93,8 @@ services:
|
|||||||
restart: on-failure
|
restart: on-failure
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:60001:60001
|
||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
||||||
@ -105,13 +107,16 @@ services:
|
|||||||
postgres1:
|
postgres1:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
simulation:
|
||||||
|
ipv4_address: 10.2.0.100
|
||||||
|
|
||||||
nwaku_store_pg2:
|
nwaku_store_pg2:
|
||||||
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
com.centurylinklabs.watchtower.enable: '${WATCHTOWER_ENABLED:-false}'
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:60002:60002
|
||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
||||||
@ -121,10 +126,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./run_nwaku_store_postgres2.sh:/opt/run_nwaku_store_postgres2.sh:Z
|
- ./run_nwaku_store_postgres2.sh:/opt/run_nwaku_store_postgres2.sh:Z
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres2:
|
nwaku_store_pg1:
|
||||||
|
condition: service_started
|
||||||
|
postgres2:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
simulation:
|
||||||
|
ipv4_address: 10.2.0.101
|
||||||
|
|
||||||
# rest-traffic:
|
# rest-traffic:
|
||||||
# image: alrevuelta/rest-traffic:6992bb5
|
# image: alrevuelta/rest-traffic:6992bb5
|
||||||
|
|||||||
@ -36,7 +36,7 @@ exec /usr/bin/wakunode\
|
|||||||
--cluster-id=16\
|
--cluster-id=16\
|
||||||
--ports-shift=1\
|
--ports-shift=1\
|
||||||
--store=true\
|
--store=true\
|
||||||
--store-message-retention-policy=size:1GB\
|
--store-message-retention-policy=size:20MB\
|
||||||
--store-message-db-url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres1:5432/postgres"\
|
--store-message-db-url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres1:5432/postgres"\
|
||||||
--store-sync=true\
|
--store-sync=true\
|
||||||
--store-sync-interval=120\
|
--store-sync-interval=120\
|
||||||
|
|||||||
@ -28,17 +28,18 @@ exec /usr/bin/wakunode\
|
|||||||
--dns-discovery=true\
|
--dns-discovery=true\
|
||||||
--discv5-discovery=true\
|
--discv5-discovery=true\
|
||||||
--discv5-enr-auto-update=True\
|
--discv5-enr-auto-update=True\
|
||||||
--log-level=DEBUG\
|
--log-level=TRACE\
|
||||||
--metrics-server=True\
|
--metrics-server=True\
|
||||||
--metrics-server-address=0.0.0.0\
|
--metrics-server-address=0.0.0.0\
|
||||||
--discv5-bootstrap-node=${BOOTSTRAP_ENR}\
|
--discv5-bootstrap-node=${BOOTSTRAP_ENR}\
|
||||||
--pubsub-topic=/waku/2/rs/16/32\
|
--pubsub-topic=/waku/2/rs/16/32\
|
||||||
--cluster-id=16\
|
--cluster-id=16\
|
||||||
--ports-shift=1\
|
--ports-shift=2\
|
||||||
--store=true\
|
--store=true\
|
||||||
--store-message-retention-policy=size:1GB\
|
--store-message-retention-policy=size:40MB\
|
||||||
--store-message-db-url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres2:5432/postgres"\
|
--store-message-db-url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres2:5432/postgres"\
|
||||||
--store-sync=true\
|
--store-sync=true\
|
||||||
--store-sync-interval=120\
|
--store-sync-interval=80\
|
||||||
--store-sync-range=3600\
|
--store-sync-range=3600\
|
||||||
|
--staticnode=/ip4/10.2.0.100/tcp/60001/p2p/16Uiu2HAm3iFcvPDcYge7JFev3ZRdsiUoYFwxtzGZW1BSoV4b4Gc6\
|
||||||
--nodekey=5978783f8b1a16795032371fff7a526af352d9dca38179af7d71c0122942daa3
|
--nodekey=5978783f8b1a16795032371fff7a526af352d9dca38179af7d71c0122942daa3
|
||||||
Loading…
x
Reference in New Issue
Block a user