From a8a3a8a672bd55c53815c5f14e684e3d19cc1a8a Mon Sep 17 00:00:00 2001 From: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com> Date: Mon, 11 Mar 2024 16:26:01 +0100 Subject: [PATCH] Adjusted run params, port expose to outer, 1.5GB db size retention, use of waku-test fleet --- docker-compose.yml | 6 +++--- run_node.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 80527af..369e0d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -101,7 +101,7 @@ services: - ./monitoring/configuration/customizations/custom-logo.svg:/usr/share/grafana/public/img/grafana_typelogo.svg:Z - ./monitoring/configuration/customizations/custom-logo.png:/usr/share/grafana/public/img/fav32.png:Z ports: - - 127.0.0.1:3000:3000 + - 0.0.0.0:3000:3000 restart: on-failure:5 depends_on: - prometheus @@ -118,8 +118,8 @@ services: - ./postgres_cfg/db.sql:/docker-entrypoint-initdb.d/db.sql:Z - ${PG_DATA_DIR:-./postgresql}:/var/lib/postgresql/data:Z command: postgres -c config_file=/etc/postgresql/postgresql.conf - ports: [] - # - 127.0.0.1:5432:5432 + ports: + - 0.0.0.0:5432:5432 healthcheck: test: ["CMD-SHELL", "pg_isready -d db_prod"] interval: 30s diff --git a/run_node.sh b/run_node.sh index d4aa496..8816925 100644 --- a/run_node.sh +++ b/run_node.sh @@ -91,7 +91,7 @@ exec /usr/bin/wakunode\ --nat=extip:"${MY_EXT_IP}"\ --store=true\ --store-message-db-url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/postgres"\ - --store-message-retention-policy=time:86400\ + --store-message-retention-policy=size:1.5GB\ --rln-relay=true\ --rln-relay-dynamic=true\ --rln-relay-eth-contract-address="${RLN_RELAY_CONTRACT_ADDRESS}"\