Add topics for autosharding
This commit is contained in:
parent
5405502990
commit
b87bd69134
|
@ -124,6 +124,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:
|
||||||
|
- 127.0.0.1:5432:5432
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -d db_prod"]
|
test: ["CMD-SHELL", "pg_isready -d db_prod"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|
10
run_node.sh
10
run_node.sh
|
@ -56,8 +56,14 @@ fi
|
||||||
|
|
||||||
exec /usr/bin/wakunode\
|
exec /usr/bin/wakunode\
|
||||||
--relay=true\
|
--relay=true\
|
||||||
--topic=/waku/2/default-waku/proto\
|
--topic=/waku/2/rs/1/0\
|
||||||
--topic=/waku/2/dev-waku/proto\
|
--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\
|
--filter=true\
|
||||||
--lightpush=true\
|
--lightpush=true\
|
||||||
--rpc-admin=true\
|
--rpc-admin=true\
|
||||||
|
|
Loading…
Reference in New Issue