Add topics for autosharding

This commit is contained in:
alrevuelta 2023-11-07 13:39:40 +01:00
parent 5405502990
commit b87bd69134
No known key found for this signature in database
GPG Key ID: F345C9F3CCDB886E
2 changed files with 10 additions and 2 deletions

View File

@ -124,6 +124,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
healthcheck:
test: ["CMD-SHELL", "pg_isready -d db_prod"]
interval: 30s

View File

@ -56,8 +56,14 @@ fi
exec /usr/bin/wakunode\
--relay=true\
--topic=/waku/2/default-waku/proto\
--topic=/waku/2/dev-waku/proto\
--topic=/waku/2/rs/1/0\
--topic=/waku/2/rs/1/1\
--topic=/waku/2/rs/1/2\
--topic=/waku/2/rs/1/3\
--topic=/waku/2/rs/1/4\
--topic=/waku/2/rs/1/5\
--topic=/waku/2/rs/1/6\
--topic=/waku/2/rs/1/7\
--filter=true\
--lightpush=true\
--rpc-admin=true\