Adjusted run params, port expose to outer, 1.5GB db size retention, use of waku-test fleet

This commit is contained in:
NagyZoltanPeter 2024-03-11 16:26:01 +01:00
parent e2ce4d55a7
commit a8a3a8a672
No known key found for this signature in database
GPG Key ID: 16EADB9673B65368
2 changed files with 4 additions and 4 deletions

View File

@ -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.svg:/usr/share/grafana/public/img/grafana_typelogo.svg:Z
- ./monitoring/configuration/customizations/custom-logo.png:/usr/share/grafana/public/img/fav32.png:Z - ./monitoring/configuration/customizations/custom-logo.png:/usr/share/grafana/public/img/fav32.png:Z
ports: ports:
- 127.0.0.1:3000:3000 - 0.0.0.0:3000:3000
restart: on-failure:5 restart: on-failure:5
depends_on: depends_on:
- prometheus - prometheus
@ -118,8 +118,8 @@ services:
- ./postgres_cfg/db.sql:/docker-entrypoint-initdb.d/db.sql:Z - ./postgres_cfg/db.sql:/docker-entrypoint-initdb.d/db.sql:Z
- ${PG_DATA_DIR:-./postgresql}:/var/lib/postgresql/data:Z - ${PG_DATA_DIR:-./postgresql}:/var/lib/postgresql/data:Z
command: postgres -c config_file=/etc/postgresql/postgresql.conf command: postgres -c config_file=/etc/postgresql/postgresql.conf
ports: [] ports:
# - 127.0.0.1:5432:5432 - 0.0.0.0:5432:5432
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -d db_prod"] test: ["CMD-SHELL", "pg_isready -d db_prod"]
interval: 30s interval: 30s

View File

@ -91,7 +91,7 @@ exec /usr/bin/wakunode\
--nat=extip:"${MY_EXT_IP}"\ --nat=extip:"${MY_EXT_IP}"\
--store=true\ --store=true\
--store-message-db-url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/postgres"\ --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=true\
--rln-relay-dynamic=true\ --rln-relay-dynamic=true\
--rln-relay-eth-contract-address="${RLN_RELAY_CONTRACT_ADDRESS}"\ --rln-relay-eth-contract-address="${RLN_RELAY_CONTRACT_ADDRESS}"\