docker-compose.yml

Uncommenting publisher container.
Exposing ports outside the containers.
Upgrading pending containers to nwaku version 0.20.0.
This commit is contained in:
Ivan Folgueira Bande 2023-10-12 16:53:39 +02:00 committed by Ivan FB
parent b025e85816
commit 1002b6ebb4

View File

@ -32,6 +32,9 @@ services:
## Waku node with Store mounted & Postgres ## Waku node with Store mounted & Postgres
image: statusteam/nim-waku:v0.20.0 image: statusteam/nim-waku:v0.20.0
restart: on-failure restart: on-failure
ports:
- 0.0.0.0:30303:30303
- 0.0.0.0:9000:9000
<<: <<:
- *logging - *logging
- *pg_env - *pg_env
@ -60,8 +63,11 @@ services:
nwaku_sqlite: nwaku_sqlite:
## Waku node with Store mounted & SQLite ## Waku node with Store mounted & SQLite
image: statusteam/nim-waku:v0.19.0 image: statusteam/nim-waku:v0.20.0
restart: on-failure restart: on-failure
ports:
- 0.0.0.0:30304:30304
- 0.0.0.0:9001:9001
<<: <<:
- *logging - *logging
volumes: volumes:
@ -74,7 +80,7 @@ services:
nwaku_client_sqlite: nwaku_client_sqlite:
## Waku node that acts as a Store client to the `nwaku_sqlite` and listens ## Waku node that acts as a Store client to the `nwaku_sqlite` and listens
## to REST-Store requests ## to REST-Store requests
image: statusteam/nim-waku:v0.19.0 image: statusteam/nim-waku:v0.20.0
restart: on-failure restart: on-failure
<<: <<:
- *logging - *logging
@ -86,20 +92,20 @@ services:
depends_on: depends_on:
- nwaku_sqlite - nwaku_sqlite
msg_publisher: # msg_publisher:
## Sends json-rpc 'post_waku_v2_relay_v1_message' messages infinitely # ## Sends json-rpc 'post_waku_v2_relay_v1_message' messages infinitely
image: alpine:3.16 # image: alpine:3.16
restart: on-failure # restart: on-failure
logging: # logging:
driver: "none" # driver: "none"
volumes: # volumes:
- ./msg_publisher.sh:/opt/msg_publisher.sh:Z # - ./msg_publisher.sh:/opt/msg_publisher.sh:Z
entrypoint: sh # entrypoint: sh
command: # command:
- /opt/msg_publisher.sh # - /opt/msg_publisher.sh
depends_on: # depends_on:
- nwaku_postgres # - nwaku_postgres
- nwaku_sqlite # - nwaku_sqlite
prometheus: prometheus:
image: docker.io/prom/prometheus:latest image: docker.io/prom/prometheus:latest
@ -126,6 +132,8 @@ 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
restart: on-failure restart: on-failure
ports:
- 0.0.0.0:3000:3000
depends_on: depends_on:
- prometheus - prometheus