Integrate waku frontend (#97)

This commit is contained in:
gabrielmer 2024-06-13 16:34:48 +02:00 committed by GitHub
parent 12f7e68932
commit 7530cc9a98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 1 deletions

View File

@ -48,7 +48,10 @@ docker-compose up -d
* See [http://localhost:3000/d/yns_4vFVk/nwaku-monitoring](http://localhost:3000/d/yns_4vFVk/nwaku-monitoring) for node metrics.
* See [localhost:4000](http://localhost:4000). Under development 🚧
**📬 4. Use the REST API**
**⭐ 4. Chat using waku-frontend**
Check out [http://localhost:5173](http://localhost:5173) and use your Waku node to chat with other users
**📬 5. Use the REST API**
Your nwaku node exposes a [REST API](https://waku-org.github.io/waku-rest-api/) to interact with it.

View File

@ -142,6 +142,15 @@ services:
depends_on:
- postgres
waku-frontend:
# TODO: migrate to waku-org
image: alrevuelta/waku-frontend:latest
ports:
- 127.0.0.1:5173:5173
restart: on-failure:5
depends_on:
- nwaku
## Remove comment if you need pgadmin support in your container.
## Commented for backward version compatibility of docker-compose.
# pgadmin:

View File

@ -79,6 +79,7 @@ exec /usr/bin/wakunode\
--rest-address=0.0.0.0\
--rest-port=8645\
--rest-allow-origin="waku-org.github.io"\
--rest-allow-origin="localhost:*"\
--nat=extip:"${MY_EXT_IP}"\
--store=true\
--store-message-db-url="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/postgres"\