Merge pull request #12 from waku-org/support-rest

Support rest api
This commit is contained in:
Alvaro Revuelta 2023-10-03 16:29:40 +02:00 committed by GitHub
commit 41a4490999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,7 @@ services:
- 127.0.0.1:8003:8003 - 127.0.0.1:8003:8003
- 80:80 #Let's Encrypt - 80:80 #Let's Encrypt
- 8000:8000/tcp #WSS - 8000:8000/tcp #WSS
- 127.0.0.1:8645:8645
<<: <<:
- *logging - *logging
environment: environment:

View File

@ -62,6 +62,9 @@ exec /usr/bin/wakunode\
--metrics-server=True\ --metrics-server=True\
--metrics-server-port=8003\ --metrics-server-port=8003\
--metrics-server-address=0.0.0.0\ --metrics-server-address=0.0.0.0\
--rest=true\
--rest-address=0.0.0.0\
--rest-port=8645\
--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"\